|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.obligate.annotations.contract.proxy.ImplementationHelper<ServiceInterface>
org.obligate.annotations.contract.proxy.FactoryImplementationHelper<ServiceInterface>
public class FactoryImplementationHelper<ServiceInterface>
This factory implementation assumes a static implementation of the factory method.
| Constructor Summary | |
|---|---|
FactoryImplementationHelper(java.lang.Class<ServiceInterface> interfaceClass,
java.lang.reflect.Method factoryMethod)
|
|
| Method Summary | |
|---|---|
ServiceInterface |
newInstance()
Creates a new proxy instance for this helper |
| Methods inherited from class org.obligate.annotations.contract.proxy.ImplementationHelper |
|---|
isRulesInitialised, setRulesInitialised |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FactoryImplementationHelper(java.lang.Class<ServiceInterface> interfaceClass,
java.lang.reflect.Method factoryMethod)
| Method Detail |
|---|
public ServiceInterface newInstance()
throws java.lang.Exception
ImplementationHelper
newInstance in class ImplementationHelper<ServiceInterface>java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.ExceptionImplementationHelper.newInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||