net.openwings.policy
Interface PolicyGenerator
- public interface PolicyGenerator
This interface describes a utility that can be used to generate policies.
|
Method Summary |
void |
generatePolicy(java.lang.String className)
Generate policy source code and configuration data files
using the information from the specified interface. |
generatePolicy
public void generatePolicy(java.lang.String className)
throws java.lang.ClassNotFoundException,
PolicyException
- Generate policy source code and configuration data files
using the information from the specified interface.
- Parameters:
className - The name of the interface.
- Throws:
java.lang.ClassNotFoundException - thrown if className is not a valid
class
PolicyException - an error has occurred while generating a policy