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
TermsFactory
createTerm
in interface TermsFactory
termDef
- the TermDefinition.getTermDef (returned by this factory)subres
- (the configuration)PermErrorException
- if something goes wrongInstantiationException
TermsFactory.createTerm(java.lang.Class, org.apache.james.jspf.terms.Configuration)
public Collection<TermDefinition> getMechanismsCollection()
TermsFactory
getMechanismsCollection
in interface TermsFactory
TermsFactory.getMechanismsCollection()
public Collection<TermDefinition> getModifiersCollection()
TermsFactory
getModifiersCollection
in interface TermsFactory
TermsFactory.getModifiersCollection()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.