|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolicyLoader
A PolicyLoader
performs all loading and instantiation of
PolicyInstance
objects, as well as discover of available
PolicyType
s.
Method Summary | |
---|---|
java.lang.String[] |
getAvailablePolicyTypeIDs()
Returns all the policy type ID strings that could be loaded by this loader. |
PolicyInstance |
load(java.lang.String policyTypeID)
Loads a policy instance that is appropriate for the given policy type ID. |
Method Detail |
---|
PolicyInstance load(java.lang.String policyTypeID) throws PolicyLoaderException
policyTypeID
- the string that identifies the type of policy to load (must not be
null
or empty)
null
if no matching PolicyInstance
s could be
found.
PolicyLoaderException
- if an I/O error occurred loading the policy.java.lang.String[] getAvailablePolicyTypeIDs() throws PolicyLoaderException
load(String)
is invoked.
PolicyLoaderException
- if an I/O error occurred searching for policies.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |