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()Reload the component. | 
getProperty, getPropertyNames, getPropertyValue, getPropertyValue, getRuntimeContextregisterExtension, unregisterExtensiongetAdapterObject getInstance()
ComponentName getName()
RuntimeContext getContext()
void activate()
              throws Exception
Exception - if any error occurs during activationvoid deactivate()
                throws Exception
Exception - if any error occurs during deactivationvoid destroy()
             throws Exception
Exception - if any error occursvoid reload()
            throws Exception
ExceptionString[] getProvidedServiceNames()
Copyright © 2011 Nuxeo SA. All Rights Reserved.