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.
|
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, getRuntimeContext
registerExtension, unregisterExtension
getAdapter
Object getInstance()
ComponentName getName()
RuntimeContext getContext()
void activate()
void start()
void stop() throws InterruptedException
InterruptedException
void deactivate()
void destroy()
@Deprecated void reload()
RegistrationInfoImpl
String[] getProvidedServiceNames()
Copyright © 2018 Nuxeo. All rights reserved.