KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ve > luz > ica > jackass > client > ProxyManager


1 /*
2  * Copyright (c) 2003 by The Jackass Team
3  * Licensed under the Open Software License version 2.0
4  */

5 package ve.luz.ica.jackass.client;
6
7 import org.omg.CORBA.Object JavaDoc;
8
9 /**
10  * This interface provides operations for detecting the proxies of a Jackass component.
11  * @author Guido Urdaneta, David Fernández
12  */

13 interface ProxyManager
14 {
15     /**
16      * Returns a (presumably valid) proxy of a component.
17      * @param componentID the ID of component to which the proxy is associated.
18      * @return The proxy reference.
19      */

20     Object JavaDoc getProxy(String JavaDoc componentID);
21
22     /**
23      * Detects if a component is faulted.
24      * @param componentID the ID of the component to probe.
25      * @return true if the component is faulted, false otherwise.
26      */

27     boolean isComponentFaulted(String JavaDoc componentID);
28 }
29
Popular Tags