public class DataSourceComponent extends DefaultComponent
For now only the internal Nuxeo JNDI server is supported.
| Modifier and Type | Field and Description | 
|---|---|
| static String | DATASOURCES_XP | 
| static String | ENV_CTX_NAME | 
| Constructor and Description | 
|---|
| DataSourceComponent() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | applicationStarted(ComponentContext context)Notify the component that Nuxeo Framework finished starting all Nuxeo
 bundles. | 
| void | deactivate(ComponentContext context)Deactivates the component. | 
| int | getApplicationStartedOrder()The component notification order for  Component.applicationStarted(org.nuxeo.runtime.model.ComponentContext). | 
| void | registerContribution(Object contrib,
                    String extensionPoint,
                    ComponentInstance component) | 
| void | unregisterContribution(Object contrib,
                      String extensionPoint,
                      ComponentInstance component) | 
activate, getAdapter, getLastModified, registerExtension, setLastModified, unregisterExtensionpublic static final String DATASOURCES_XP
public static final String ENV_CTX_NAME
public void registerContribution(Object contrib, String extensionPoint, ComponentInstance component) throws Exception
registerContribution in class DefaultComponentExceptionpublic void unregisterContribution(Object contrib, String extensionPoint, ComponentInstance component) throws Exception
unregisterContribution in class DefaultComponentExceptionpublic int getApplicationStartedOrder()
ComponentComponent.applicationStarted(org.nuxeo.runtime.model.ComponentContext).
 Components are notified in increasing order. Order 1000 is the default order for components that don't care. Order 100 is the repository initialization.
getApplicationStartedOrder in interface ComponentgetApplicationStartedOrder in class DefaultComponentpublic void applicationStarted(ComponentContext context) throws Exception
ComponentapplicationStarted in interface ComponentapplicationStarted in class DefaultComponentExceptionpublic 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.