|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wlcp.wlng.api.util.InstanceFactory
Common factory used to retrieve instances of for a given interface, class or abstract class. The implementation will be located based on these rules:
com.bea.wlcp.wlng.MyInterface=com.bea.wlcp.wlng.MyImplementation com.bea.wlcp.wlng.MyOtherInterface=com.bea.wlcp.wlng.MyOtherImplementation
Method Summary | |
java.lang.Object |
getImplementation(java.lang.Class theClass)
Retrieves a class that implements/extends a given interface/class. |
static InstanceFactory |
getInstance()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Object getImplementation(java.lang.Class theClass) throws java.lang.NoClassDefFoundError, java.lang.reflect.InvocationTargetException
theClass
- The interface/class that the returned object should implement.
java.lang.NoClassDefFoundError
- If no implementation is available.
java.lang.reflect.InvocationTargetException
- If there is an exception cast from the
implementation. The cause will contain the actual exception.public static InstanceFactory getInstance()
|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |