com.tzavellas.dyndelegate
Class SimpleEJBHomeFactory
java.lang.Object
com.tzavellas.dyndelegate.SimpleEJBHomeFactory
- All Implemented Interfaces:
- EJBHomeFactory
public class SimpleEJBHomeFactory
- extends Object
- implements EJBHomeFactory
A non-caching implementation of the EJBHomeFactory
interface.
- Author:
- Spiros Tzavellas
- See Also:
EJBHomeFactory
Method Summary |
javax.ejb.EJBLocalHome |
lookupLocal(String jndiName,
Class homeInterface)
Return the EJBLocalHome bound at the specified JNDI name. |
javax.ejb.EJBHome |
lookupRemote(String jndiName,
Class homeInterface)
Return the EJBHome bound at the specified JNDI name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleEJBHomeFactory
public SimpleEJBHomeFactory()
lookupRemote
public javax.ejb.EJBHome lookupRemote(String jndiName,
Class homeInterface)
- Return the EJBHome bound at the specified JNDI name.
- Specified by:
lookupRemote
in interface EJBHomeFactory
- Parameters:
jndiName
- the JNDI name where the remote interface is boundhomeInterface
- the class of the remote home interface.
- Returns:
- the remote home interface
lookupLocal
public javax.ejb.EJBLocalHome lookupLocal(String jndiName,
Class homeInterface)
- Return the EJBLocalHome bound at the specified JNDI name.
- Specified by:
lookupLocal
in interface EJBHomeFactory
- Parameters:
jndiName
- the JNDI name where the local interface is boundhomeInterface
- the class of the local home interface.
- Returns:
- the local home interface
Copyright © 2005-2009 spiros.blog(). All Rights Reserved.