public class ContentInputDataExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<ContentInputData> implements Configurable
ExtensionPoint
handles the pool of available ContentInputData
.Modifier and Type | Field and Description |
---|---|
private Set<String> |
_inputDataRoles |
private SourceResolver |
_resolver |
static String |
ROLE
Avalon role
|
_cocoonManager, _context, _manager
Constructor and Description |
---|
ContentInputDataExtensionPoint() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
protected Configuration |
getExternalConfiguration()
Get the component configuration as a Configuration object.
|
void |
initializeExtensions()
Finalize the initialization of the extensions.
This method is called after all addExtension() calls.This is the last step before the actual startup of the application. |
void |
service(ServiceManager serviceManager) |
void |
toSAX(ContentHandler handler)
SAX all the input data.
|
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize
getLogger, setLogger
private SourceResolver _resolver
private Set<String> _inputDataRoles
public ContentInputDataExtensionPoint()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class AbstractThreadSafeComponentExtensionPoint<ContentInputData>
ServiceException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public void initializeExtensions() throws Exception
ExtensionPoint
addExtension()
calls.initializeExtensions
in interface ExtensionPoint<ContentInputData>
initializeExtensions
in class AbstractThreadSafeComponentExtensionPoint<ContentInputData>
Exception
- if something wrong occurspublic void toSAX(ContentHandler handler) throws SAXException, ProcessingException
handler
- the content handler to SAX into.SAXException
- if an error occurs while SAXing.ProcessingException
- if an error occurs while processing.protected Configuration getExternalConfiguration() throws ConfigurationException
ConfigurationException
- if an error occurs