public class FactoryCache extends Object
Constructor and Description |
---|
FactoryCache(org.osgi.framework.BundleContext context) |
Modifier and Type | Method and Description |
---|---|
Generator |
getGenerator(String type)
Get the generator of the given type.
|
Transformer[][] |
getGlobalTransformers(ProcessingContext context)
Lookup all global transformers that apply to the current request and return
the transformer instances in two arrays.
|
Processor |
getProcessor(String type)
Get the processor of the given type.
|
Serializer |
getSerializer(String type)
Get the serializer of the given type.
|
Transformer |
getTransformer(String type)
Get the transformer of the given type.
|
void |
start()
Start tracking
|
void |
stop()
Stop tracking
|
public FactoryCache(org.osgi.framework.BundleContext context) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public void start()
public void stop()
public Generator getGenerator(String type)
type
- The generator type.public Serializer getSerializer(String type)
type
- The serializer type.public Transformer getTransformer(String type)
type
- The transformer type.public Processor getProcessor(String type)
type
- The processor type.public Transformer[][] getGlobalTransformers(ProcessingContext context)
context
- The current processing context.Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.