|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obligate.annotations.contract.proxy.ContractProxyFactory
public final class ContractProxyFactory
Simple factory class that returns an contract proxy implementation based on the interface supplied.
Method Summary | ||
---|---|---|
static ContractProxyFactory |
getInstance()
|
|
|
getProxy(java.lang.Class<T> interfaceClass)
Get a proxy for the given class. |
|
boolean |
isDoValidation()
|
|
void |
setDoValidation(boolean doValidation)
N.B. This method does not currently propogate the results further. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final ContractProxyFactory getInstance()
public <T> T getProxy(java.lang.Class<T> interfaceClass)
interfaceClass
- the class to create the proxy for
public final boolean isDoValidation()
public final void setDoValidation(boolean doValidation)
doValidation
- set whether FUTURE classes should undertake validations.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |