public class DefaultTermsFactory extends Object implements TermsFactory
| Constructor and Description |
|---|
DefaultTermsFactory(Logger log) |
DefaultTermsFactory(Logger log,
WiringService wiringService) |
| Modifier and Type | Method and Description |
|---|---|
Object |
createTerm(Class<?> termDef,
Configuration subres)
Create a new term starting from the TermDefinition created by this factory
|
Collection<TermDefinition> |
getMechanismsCollection()
Return the collection of known Mechanisms
|
Collection<TermDefinition> |
getModifiersCollection()
Return the collection of known Modifiers
|
public DefaultTermsFactory(Logger log)
public DefaultTermsFactory(Logger log, WiringService wiringService)
public Object createTerm(Class<?> termDef, Configuration subres) throws PermErrorException, InstantiationException
TermsFactorycreateTerm in interface TermsFactorytermDef - the TermDefinition.getTermDef (returned by this factory)subres - (the configuration)PermErrorException - if something goes wrongInstantiationExceptionTermsFactory.createTerm(java.lang.Class, org.apache.james.jspf.terms.Configuration)public Collection<TermDefinition> getMechanismsCollection()
TermsFactorygetMechanismsCollection in interface TermsFactoryTermsFactory.getMechanismsCollection()public Collection<TermDefinition> getModifiersCollection()
TermsFactorygetModifiersCollection in interface TermsFactoryTermsFactory.getModifiersCollection()Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.