| java.lang.Object org.apache.openejb.client.ClientInstance
ClientInstance | public class ClientInstance (Code) | | |
getComponent | public T getComponent(Class<T> type)(Code) | | Gets a global component instance.
Parameters: type - the class type of the component - required the object associated with the class type or null throws: IllegalStateException - of the component isn't found |
getStartTime | public long getStartTime()(Code) | | |
hasProperty | public boolean hasProperty(String propName)(Code) | | Parameters: propName - property name true when property is set; false otherwise |
removeComponent | public T removeComponent(Class<T> type)(Code) | | Removes a global component instance.
Parameters: type - the class type of the component - required the component instance or null if component type was not registered |
setComponent | public T setComponent(Class<T> type, T component)(Code) | | Registers a component instance with the client, so it may be reference globally.
Parameters: type - the class type of the component - required Parameters: component - the component instance |
|
|