public class DynamicProxyFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
<T,F> T |
createClientProxy(java.lang.Class<T> componentInterface,
F corbaStub,
java.lang.Class<F> corbaOperationsIF)
Creates a proxy object for a corba stub for a component.
|
java.lang.Object |
createServerProxy(java.lang.Class<?> corbaIF,
java.lang.Object componentImpl,
java.lang.Class<?> componentIF)
Creates a proxy object for a component implementation.
|
static DynamicProxyFactory |
getDynamicProxyFactory(java.util.logging.Logger logger)
Singleton accessor.
|
public static DynamicProxyFactory getDynamicProxyFactory(java.util.logging.Logger logger)
logger - public <T,F> T createClientProxy(java.lang.Class<T> componentInterface,
F corbaStub,
java.lang.Class<F> corbaOperationsIF)
throws DynWrapperException
componentInterface - the component interfacecorbaStub - (should be a Corba object, but this is currently not enforced)DynWrapperExceptionpublic java.lang.Object createServerProxy(java.lang.Class<?> corbaIF,
java.lang.Object componentImpl,
java.lang.Class<?> componentIF)
throws DynWrapperException
corbaIF - the IDL-generated xxOperations interface.componentImpl - the component implementation class that implements componentIF.
This may be identical with corbaIF, or could be
some other similar interface, e.g. one that uses XML binding classes.componentIF - the interface of the component to which calls will be delegated.corbaIF and delegates to componentImpl.DynWrapperException