org.openmdx.kernel.application.container.spi.ejb
Class HomeFactory

java.lang.Object
  extended by org.openmdx.kernel.application.container.spi.ejb.HomeFactory
All Implemented Interfaces:
HomeConfiguration

public class HomeFactory
extends Object
implements HomeConfiguration

Home Factory

This method handles stateless session beans only at the moment.


Constructor Summary
HomeFactory(String homeInterface, String homeClass, String localHomeInterface, String localInterface)
          Constructor
 
Method Summary
 EJBHome getHome()
          Create a home instance
 EJBLocalHome getLocalHome()
          Create a local home instance
 void initialize(String beanName, String jndiURL, ContextSwitcher contextSwitcher, Class instanceClass, ObjectPool instancePool, ContainerTransaction containerTransaction, TransactionManager transactionManager)
          Activate an Enterprise Java Bean Home
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeFactory

public HomeFactory(String homeInterface,
                   String homeClass,
                   String localHomeInterface,
                   String localInterface)
            throws ClassNotFoundException
Constructor

Parameters:
homeInterface -
homeClass -
localHomeInterface -
localInterface -
Throws:
ClassNotFoundException
Method Detail

getHome

public EJBHome getHome()
                throws InstantiationException,
                       IllegalAccessException
Create a home instance

Returns:
a new home instance
Throws:
IllegalAccessException
InstantiationException

getLocalHome

public EJBLocalHome getLocalHome()
Create a local home instance

Returns:
a new local home instance

initialize

public void initialize(String beanName,
                       String jndiURL,
                       ContextSwitcher contextSwitcher,
                       Class instanceClass,
                       ObjectPool instancePool,
                       ContainerTransaction containerTransaction,
                       TransactionManager transactionManager)
                throws Exception
Description copied from interface: HomeConfiguration
Activate an Enterprise Java Bean Home

Specified by:
initialize in interface HomeConfiguration
Throws:
Exception


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.