public class ObjectResolverServiceImpl extends DefaultComponent implements ObjectResolverService
Constructor and Description |
---|
ObjectResolverServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
ObjectResolver |
getResolver(String type,
Map<String,String> parameters) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtension
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 registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public ObjectResolver getResolver(String type, Map<String,String> parameters)
getResolver
in interface ObjectResolverService
type
- the xsd type, a resolver could manage.parameters
- the parameters for this resolver.Copyright © 2015 Nuxeo SA. All rights reserved.