|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProxyFactory
(c) Agical AB 2005
Method Summary | |
---|---|
void |
clear()
Clear the state of the proxy factory |
java.lang.Object |
createInterfaceInterceptionProxy(java.lang.Class itf,
java.lang.String id)
|
java.lang.Object |
createInterfaceProxy(java.lang.Class clazz,
java.lang.String id)
Implementations must create a proxy to an interface of the specified class. |
java.lang.Object |
createObjectInterceptionProxy(java.lang.Class clazz,
java.lang.Class[] signature,
java.lang.Object[] args,
java.lang.String id)
Implementations must create an intercepting proxy to an object of the specified class using the specified signature providing the specified arguments |
java.lang.Object |
createObjectInterceptionProxy(java.lang.Class clazz,
java.lang.Object[] args,
java.lang.String id)
Implementations creates an intercepting proxy to an object of the specified type if there is one and only one constructor assignable from the provided arguments |
java.lang.Object |
createObjectMockProxy(java.lang.Class clazz,
java.lang.Class[] signature,
java.lang.Object[] args,
java.lang.String id)
Implementations must create a mocking proxy to an object of the specified class using the specified signature providing the specified arguments |
java.lang.Object |
createObjectMockProxy(java.lang.Class clazz,
java.lang.Object[] args,
java.lang.String id)
Implementations creates a mocking proxy to an object of the specified type if there is one and only one constructor assignable from the provided arguments |
java.lang.Object |
createObjectMonitorProxy(java.lang.Class clazz,
java.lang.Class[] parameterTypes,
java.lang.Object[] objects,
java.lang.String string)
Implementation must create an intercepting proxy of the given class with the given arguments by using the constructor taking the parameter types provided. |
java.lang.Object |
createObjectMonitorProxy(java.lang.Class clazz,
java.lang.Object[] objects,
java.lang.String string)
Implementation must create an intercepting proxy of the given class by finding the most suitable constructor. |
Method Detail |
---|
java.lang.Object createInterfaceProxy(java.lang.Class clazz, java.lang.String id)
clazz
- id
- Unique id for the proxy
java.lang.Object createObjectMockProxy(java.lang.Class clazz, java.lang.Object[] args, java.lang.String id)
clazz
- args
- id
- Unique id for the proxy
java.lang.Object createObjectMockProxy(java.lang.Class clazz, java.lang.Class[] signature, java.lang.Object[] args, java.lang.String id)
clazz
- signature
- args
- id
- Unique id for the proxy
void clear()
java.lang.Object createObjectInterceptionProxy(java.lang.Class clazz, java.lang.Object[] args, java.lang.String id)
clazz
- args
- id
- Unique id for the proxy
java.lang.Object createObjectInterceptionProxy(java.lang.Class clazz, java.lang.Class[] signature, java.lang.Object[] args, java.lang.String id)
clazz
- signature
- args
- id
- Unique id for the proxy
java.lang.Object createObjectMonitorProxy(java.lang.Class clazz, java.lang.Class[] parameterTypes, java.lang.Object[] objects, java.lang.String string)
clazz
- parameterTypes
- objects
- string
-
java.lang.Object createObjectMonitorProxy(java.lang.Class clazz, java.lang.Object[] objects, java.lang.String string)
clazz
- objects
- string
-
java.lang.Object createInterfaceInterceptionProxy(java.lang.Class itf, java.lang.String id)
itf
- id
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |