KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > avalon > phoenix > components > manager > ManagedEntry


1 /*
2  * Copyright (C) The Apache Software Foundation. All rights reserved.
3  *
4  * This software is published under the terms of the Apache Software License
5  * version 1.1, a copy of which has been included with this distribution in
6  * the LICENSE.txt file.
7  */

8 package org.apache.avalon.phoenix.components.manager;
9
10 final class ManagedEntry
11 {
12     ///Object passed in for management
13
private final Object JavaDoc m_object;
14
15     ///Interfaces object wants to be managed through (can be null)
16
private final Class JavaDoc[] m_interfaces;
17
18     ///Object representation when exported (usually a proxy)
19
private Object JavaDoc m_exportedObject;
20
21     ManagedEntry( final Object JavaDoc object,
22                   final Class JavaDoc[] interfaces,
23                   final Object JavaDoc exportedObject )
24     {
25         m_object = object;
26         m_interfaces = interfaces;
27         m_exportedObject = exportedObject;
28     }
29
30     Object JavaDoc getObject()
31     {
32         return m_object;
33     }
34
35     Class JavaDoc[] getInterfaces()
36     {
37         return m_interfaces;
38     }
39
40     Object JavaDoc getExportedObject()
41     {
42         return m_exportedObject;
43     }
44 }
45
Popular Tags