public class JtaActivator extends DefaultComponent
| Modifier and Type | Field and Description | 
|---|---|
| static String | AUTO_ACTIVATION | 
| Constructor and Description | 
|---|
| JtaActivator() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | activate(ComponentContext context)Activates the component. | 
| void | deactivate(ComponentContext context)Deactivates the component. | 
applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, unregisterContribution, unregisterExtensionpublic static final String AUTO_ACTIVATION
public void activate(ComponentContext context) throws Exception
ComponentThis method is called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime contextException - if an error occurs during activationpublic void deactivate(ComponentContext context) throws Exception
ComponentThis method is called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - the runtime contextException - if an error occurs during activationCopyright © 2014 Nuxeo SA. All rights reserved.