public class NuxeoCmisServiceFactoryManager extends DefaultComponent
Modifier and Type | Class and Description |
---|---|
protected static class |
NuxeoCmisServiceFactoryManager.NuxeoCmisServiceFactoryDescriptorRegistry |
Modifier and Type | Field and Description |
---|---|
protected NuxeoCmisServiceFactoryManager.NuxeoCmisServiceFactoryDescriptorRegistry |
registry |
lastModified
Constructor and Description |
---|
NuxeoCmisServiceFactoryManager() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
protected void |
addContribution(NuxeoCmisServiceFactoryDescriptor descriptor) |
void |
deactivate(ComponentContext context)
Deactivates the component.
|
NuxeoCmisServiceFactory |
getNuxeoCmisServiceFactory()
Gets the
NuxeoCmisServiceFactory based on contributed NuxeoCmisServiceFactoryDescriptor s. |
void |
registerContribution(Object contrib,
String xpoint,
ComponentInstance contributor) |
protected void |
removeContribution(NuxeoCmisServiceFactoryDescriptor descriptor) |
void |
unregisterContribution(Object contrib,
String xpoint,
ComponentInstance contributor) |
applicationStarted, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
protected NuxeoCmisServiceFactoryManager.NuxeoCmisServiceFactoryDescriptorRegistry registry
public NuxeoCmisServiceFactoryManager()
public void activate(ComponentContext context)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextpublic void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic void registerContribution(Object contrib, String xpoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contrib, String xpoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
protected void addContribution(NuxeoCmisServiceFactoryDescriptor descriptor)
protected void removeContribution(NuxeoCmisServiceFactoryDescriptor descriptor)
public NuxeoCmisServiceFactory getNuxeoCmisServiceFactory()
NuxeoCmisServiceFactory
based on contributed NuxeoCmisServiceFactoryDescriptor
s.Copyright © 2016 Nuxeo SA. All rights reserved.