public class CorrespondenceDocumentTypeServiceImpl extends DefaultComponent implements CorrespondenceDocumentTypeService
Constructor and Description |
---|
CorrespondenceDocumentTypeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
String |
getOutgoingDocType() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
applicationStarted, deactivate, getAdapter, registerExtension, unregisterExtension
public CorrespondenceDocumentTypeServiceImpl()
public void activate(ComponentContext context) throws Exception
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextException
- if an error occurs during activationpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution
in class DefaultComponent
Exception
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public String getOutgoingDocType()
getOutgoingDocType
in interface CorrespondenceDocumentTypeService
Copyright © 2011 Nuxeo SA. All Rights Reserved.