Package org.alfresco.traitextender
Class AJProxyTrait
java.lang.Object
org.alfresco.traitextender.AJProxyTrait
- All Implemented Interfaces:
InvocationHandler
Java
Method calls will be delegated to a given
Proxy InvocationHandler to be used in conjuction with
asprctJ extended traits.Method calls will be delegated to a given
Extensible object method
having the same signature within an AJExtender.ExtensionBypass context.- Author:
- Bogdan Horje
-
Method Summary
-
Method Details
-
create
- Parameters:
extensible- theExtensibleobject that defines the givenTraittraitAPI- the trait interface part that the givenExtensibleobject defines- Returns:
- a
Proxyobject for the given trait API interface with anAJProxyTraitattached. All method calls performed on the returned proxy will be delegated to a givenExtensibleobject method having the same signature within anAJExtender.ExtensionBypasscontext.
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
toString
-