org.identityconnectors.framework.impl.api.local.operations
Class ConnectorAPIOperationRunnerProxy
java.lang.Object
org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy
- All Implemented Interfaces:
- InvocationHandler
public class ConnectorAPIOperationRunnerProxy
- extends Object
- implements InvocationHandler
Proxy for APIOperationRunner that takes care of setting up underlying
connector and creating the implementation of APIOperationRunner.
The implementation of APIOperationRunner gets created whenever the
actual method is invoked.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorAPIOperationRunnerProxy
public ConnectorAPIOperationRunnerProxy(ConnectorOperationalContext context,
Constructor<? extends APIOperationRunner> runnerImplConstructor)
- Create an APIOperationRunnerProxy
- Parameters:
context - The operational contextrunnerImplConstructor - The implementation constructor. Implementation
must define a two-argument constructor(OperationalContext,Connector)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2011. All Rights Reserved.