public class StandardAnnotationOutlet extends Object implements IAnnotationOutlet
IAnnotationOutlet.
This implementation provides for a service provider style registration of
IAnnotationFactory instances by default.
| Modifier and Type | Method and Description |
|---|---|
IAnnotationFactory[] |
getAnnotationFactories()
The list of all available
IAnnotationFactory objects. |
boolean |
isLookupProviders() |
IAnnotationFactory |
lookupAnnotationFactory(COSName type)
The
IAnnotationFactory for the requested annotation type or null. |
void |
registerAnnotationFactory(IAnnotationFactory factory)
Register a new
IAnnotationFactory object. |
void |
setLookupProviders(boolean lookupProviders) |
void |
unregisterAnnotationFactory(IAnnotationFactory factory)
Unregister a
IAnnotationFactory object. |
public IAnnotationFactory[] getAnnotationFactories()
IAnnotationOutletIAnnotationFactory objects. This is not
the internal data structure, so you can not manipulate directly.getAnnotationFactories in interface IAnnotationOutletIAnnotationFactory instances.public boolean isLookupProviders()
public IAnnotationFactory lookupAnnotationFactory(COSName type)
IAnnotationOutletIAnnotationFactory for the requested annotation type or null.lookupAnnotationFactory in interface IAnnotationOutlettype - An annotation type.IAnnotationFactory for the requested annotation type
or null.public void registerAnnotationFactory(IAnnotationFactory factory)
IAnnotationOutletIAnnotationFactory object.registerAnnotationFactory in interface IAnnotationOutletfactory - The factory object to be registered.public void setLookupProviders(boolean lookupProviders)
public void unregisterAnnotationFactory(IAnnotationFactory factory)
IAnnotationOutletIAnnotationFactory object.unregisterAnnotationFactory in interface IAnnotationOutletfactory - The factory object to be deregistered.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.