|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.semiramis.policyManager.util.PMUtils
public class PMUtils
This class contains some utility method for policy manager classes.7
Constructor Summary | |
---|---|
PMUtils()
|
Method Summary | ||
---|---|---|
static
|
create(java.lang.Class<T> interfaceClass,
java.lang.String implementationClassName)
Creates a new instance of the class from the implementationClassName , and return it as implementation of
the interface interfaceClass . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PMUtils()
Method Detail |
---|
public static <T> T create(java.lang.Class<T> interfaceClass, java.lang.String implementationClassName) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
implementationClassName
, and return it as implementation of
the interface interfaceClass
.
implementationClassName
- the name of the implementation classinterfaceClass
- the interface to return, the implementationClassName is
checked to ensure it implements the given interface
java.lang.IllegalAccessException
- if the ContextHandler
implementation class cannot be
instantiated
java.lang.InstantiationException
- if the ContextHandler
implementation class cannot be
instantiated
java.lang.ClassNotFoundException
- if the ContextHandler
implementation class cannot be
found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |