kaos.kpat.policyTemplates
Interface PolicyTemplateFactory

All Known Implementing Classes:
PolicyTemplateFactoryImpl

public interface PolicyTemplateFactory

This interface provides a factory for obtaining policy templates $Revision: 1.3 $


Method Summary
 java.util.Set getPolicyTemplateNames()
          Get the names of available templates
 PolicyTemplate newPolicyTemplate(java.lang.String templateName)
          Obtain a new instance of the named policy template
 

Method Detail

newPolicyTemplate

PolicyTemplate newPolicyTemplate(java.lang.String templateName)
                                 throws PolicyTemplateInstantiationException
Obtain a new instance of the named policy template

Parameters:
templateName - The String specifying the policy template, for which an editor is requested.
Returns:
PolicyTemplate a new instance of the requested template
Throws:
PolicyEditorInstantiationException - is thrown if the instantiation of the editor was not successful, details will be provided in the exception's message.
PolicyTemplateInstantiationException

getPolicyTemplateNames

java.util.Set getPolicyTemplateNames()
Get the names of available templates

Returns:
Set names of the available templates