Back to index
Back to module hivemind.lib

Service hivemind.lib.EJBProxyFactory

Interfaceorg.apache.hivemind.ServiceImplementationFactory
Parameters Occursrequired
Core service implementation factory that constructs dynamic proxies to EJB stateless session beans. Factory parameters are used to specify the JNDI name of the EJB and the name of its home interface.

Parameters Schema

Element construct
Specifies parameters needed to construct the EJB Proxy.
Attribute jndi-name Required
The JNDI Name of the EJB's home interface.
Attribute home-interface Required
Complete name of the EJB's home interface. The service interface must be the remote interface.
Attribute name-lookup-service-id Optional
Translatorservice
Defines an alternate name lookup service to use when resolving JNDI names to EJB home interfaces. If not specified, the default service hivemind.NameLookup is used.

Conversion Rules

  • <conversion class="org.apache.hivemind.lib.impl.EJBProxyParameters" >
    • <map attribute="jndi-name" property="jndiName" />
    • <map attribute="home-interface" property="homeInterfaceClassName" />
    • <map attribute="name-lookup-service-id" property="nameLookup" />
    </conversion>

Implementation


Back to index
Back to module hivemind.lib