public interface ComponentInstance extends ComponentContext, Extensible, Adaptable
Component instance objects are created each time a component is activated, and destroyed at component deactivation.
| Modifier and Type | Method and Description | 
|---|---|
void | 
activate()
Activates the implementation instance. 
 | 
void | 
deactivate()
Deactivates the implementation instance. 
 | 
void | 
destroy()
Destroys this instance. 
 | 
RuntimeContext | 
getContext()
Gets the runtime context attached to this instance. 
 | 
Object | 
getInstance()
Gets the actual component implementation instance. 
 | 
ComponentName | 
getName()
Gets the name of the component. 
 | 
String[] | 
getProvidedServiceNames()
Gets the list of provided services, or null if no service is provided. 
 | 
RegistrationInfo | 
getRegistrationInfo()
Gets the Registration Info 
 | 
void | 
reload()
Deprecated. 
 
since 9.3, but in fact since 5.6, only usage in
              
RegistrationInfoImpl | 
void | 
start()
Starts the implementation instance. 
 | 
void | 
stop()
Stops the implementation instance. 
 | 
getProperty, getPropertyNames, getPropertyValue, getPropertyValue, getRuntimeContextregisterExtension, unregisterExtensiongetAdapterObject getInstance()
ComponentName getName()
RuntimeContext getContext()
void activate()
void start()
void stop() throws InterruptedException
InterruptedExceptionvoid deactivate()
void destroy()
@Deprecated void reload()
RegistrationInfoImplString[] getProvidedServiceNames()
RegistrationInfo getRegistrationInfo()
Copyright © 2019 Nuxeo. All rights reserved.