2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

Module hivemind.lib
Back to master index

[public] Service Point hivemind.lib.EJBProxyFactory Interface: org.apache.hivemind.ServiceImplementationFactory
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 occurs: 1
Parameters Schema
Element <construct>
Specifies parameters needed to construct the EJB Proxy.
Attribute home-interface (required) Translator: string
Complete name of the EJB's home interface. The service interface must be the remote interface.
Attribute jndi-name (required) Translator: string
The JNDI Name of the EJB's home interface.
Attribute name-lookup-service-id Translator: service
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="impl.EJBProxyParameters" >
  • <map attribute="jndi-name" property="jndiName" />
  • <map attribute="home-interface" property="homeInterfaceClassName" />
  • <map attribute="name-lookup-service-id" property="nameLookup" />
</conversion>
Implementation
  • <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
    • <construct class="impl.EJBProxyFactory" >
      • <set-service property="nameLookup" service-id="NameLookup" />
      • <set-service property="classFactory" service-id="hivemind.ClassFactory" />
      • <set-service property="coordinator" service-id="RemoteExceptionCoordinator" />
      </construct>
    </invoke-factory>

Module hivemind.lib
Back to master index