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; 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 getProxy(String 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 componentID); 28 } 29