|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyTemplateFactory
This interface provides a factory for obtaining policy templates $Revision: 1.9 $
Nested Class Summary | |
---|---|
static interface |
PolicyTemplateFactory.TemplateFactoryListener
|
Method Summary | |
---|---|
void |
addTemplateFactoryListener(PolicyTemplateFactory.TemplateFactoryListener listener)
|
java.util.Set |
getDefinedTemplateGroups()
|
java.util.Set |
getPolicyTemplateNames()
Get the names of available templates |
PolicyTemplate |
newDefaultTemplate()
Gets the default template to use, in case there isn't a matching template for a given name |
PolicyTemplate |
newPolicyTemplate(java.lang.String templateName)
Obtain a new instance of the named policy template |
void |
removeTemplateFactoryListener(PolicyTemplateFactory.TemplateFactoryListener listener)
|
Method Detail |
---|
PolicyTemplate newPolicyTemplate(java.lang.String templateName) throws PolicyTemplateInstantiationException
templateName
- The String specifying the policy template, for which an editor is requested.
PolicyTemplateInstantiationException
- is thrown if the instantiation of the editor was not successful,
details will be provided in the exception's message.java.util.Set getPolicyTemplateNames()
java.util.Set getDefinedTemplateGroups()
PolicyTemplate newDefaultTemplate() throws PolicyTemplateInstantiationException
PolicyTemplateInstantiationException
void addTemplateFactoryListener(PolicyTemplateFactory.TemplateFactoryListener listener)
void removeTemplateFactoryListener(PolicyTemplateFactory.TemplateFactoryListener listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |