public class EJBProxyFactory extends org.apache.hivemind.impl.BaseLocatable implements org.apache.hivemind.ServiceImplementationFactory
ServiceImplementationFactory
that can create a proxy to a stateless session EJB. Using this factory, it is
easy to create a HiveMind service wrapper around the actual EJB.
The parameters for the factory are used to identify the JNDI name of the session EJB's home interface.
Constructor and Description |
---|
EJBProxyFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters) |
void |
setClassFactory(org.apache.hivemind.service.ClassFactory factory) |
void |
setCoordinator(RemoteExceptionCoordinator coordinator) |
void |
setNameLookup(NameLookup lookup) |
public EJBProxyFactory()
public java.lang.Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters)
createCoreServiceImplementation
in interface org.apache.hivemind.ServiceImplementationFactory
public void setClassFactory(org.apache.hivemind.service.ClassFactory factory)
public void setCoordinator(RemoteExceptionCoordinator coordinator)
public void setNameLookup(NameLookup lookup)