|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.cq.rewriter.processor.impl.ProcessorManagerImpl
public class ProcessorManagerImpl
This manager keeps track of configured processors.
| Nested Class Summary | |
|---|---|
protected static class |
ProcessorManagerImpl.ProcessorConfiguratorComparator
|
| Field Summary | |
|---|---|
static String |
CONFIG_PATH
|
| Constructor Summary | |
|---|---|
ProcessorManagerImpl()
|
|
| Method Summary | ||
|---|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext ctx)
Activate this component. |
|
protected void |
deactivate(org.osgi.service.component.ComponentContext ctx)
Deactivate this component. |
|
static
|
getComponent(org.osgi.framework.BundleContext bundleContext,
List<org.osgi.framework.ServiceReference> refList,
List<org.osgi.service.component.ComponentInstance> instanceList,
Class<ComponentType> typeClass,
String type)
Lookup a factory component. |
|
Processor |
getProcessor(ProcessorConfiguration configuration,
ProcessingContext context)
Return a pipeline for a pipeline configuration. |
|
List<ProcessorConfiguration> |
getProcessorConfigurations()
Return the list of currently available processor configurations. |
|
void |
onEvent(EventIterator iter)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CONFIG_PATH
| Constructor Detail |
|---|
public ProcessorManagerImpl()
| Method Detail |
|---|
protected void activate(org.osgi.service.component.ComponentContext ctx)
throws RepositoryException
ctx -
RepositoryExceptionprotected void deactivate(org.osgi.service.component.ComponentContext ctx)
ctx - public void onEvent(EventIterator iter)
onEvent in interface EventListenerEventListener.onEvent(javax.jcr.observation.EventIterator)
public Processor getProcessor(ProcessorConfiguration configuration,
ProcessingContext context)
throws IOException
ProcessorManager
getProcessor in interface ProcessorManagerIOExceptionProcessorManager.getProcessor(com.day.cq.rewriter.processor.ProcessorConfiguration, com.day.cq.rewriter.processor.ProcessingContext)public List<ProcessorConfiguration> getProcessorConfigurations()
ProcessorManager
getProcessorConfigurations in interface ProcessorManagerProcessorManager.getProcessorConfigurations()
public static <ComponentType> ComponentType getComponent(org.osgi.framework.BundleContext bundleContext,
List<org.osgi.framework.ServiceReference> refList,
List<org.osgi.service.component.ComponentInstance> instanceList,
Class<ComponentType> typeClass,
String type)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||