org.apache.hivemind.lib.impl
Class EJBProxyFactory
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.hivemind.lib.impl.EJBProxyFactory
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.hivemind.ServiceImplementationFactory
public class EJBProxyFactory
- extends org.apache.hivemind.impl.BaseLocatable
- implements org.apache.hivemind.ServiceImplementationFactory
An implementation of 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.
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBProxyFactory
public EJBProxyFactory()
createCoreServiceImplementation
public java.lang.Object createCoreServiceImplementation(org.apache.hivemind.ServiceImplementationFactoryParameters factoryParameters)
- Specified by:
createCoreServiceImplementation
in interface org.apache.hivemind.ServiceImplementationFactory
setClassFactory
public void setClassFactory(org.apache.hivemind.service.ClassFactory factory)
setCoordinator
public void setCoordinator(RemoteExceptionCoordinator coordinator)
setNameLookup
public void setNameLookup(NameLookup lookup)