| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the functional APIs for a home factory component
 that provides facilities for retrieving the home interfaces of remotely
 deployed Enterprise Java Beans (EJBHome objects).
Copyright 2002 Sapient
| Method Summary | |
|  EnterpriseBeanConfiguration | getEJBDetails(String logicalName)Utility method for retrieving an EJB's configuration information as declared in the associated XML configuration. | 
|  javax.ejb.EJBHome | lookup(String logicalName)Handles JNDI lookups for remotely deployed EJBs using the default context properties declared in the associated configuration. | 
|  javax.ejb.EJBHome | lookup(String logicalName,
       Context context)Handles JNDI lookups for remotely deployed EJBs using a context object specified at run-time. | 
|  javax.ejb.EJBHome | lookup(String logicalName,
       String principal,
       String credentials)Handles JNDI lookups for remotely deployed EJBs using the default context properties declared in the associated configuration with the exception of the security principal and credentials which are passed at run-time. | 
| Method Detail | 
public javax.ejb.EJBHome lookup(String logicalName)
                         throws HomeFactoryException
Handles JNDI lookups for remotely deployed EJBs using the default context properties declared in the associated configuration.
logicalName - String representation of the EJB's logical name
 in JNDI
HomeFactoryException - Wraps any checked exception that occurs
 during the JNDI lookup
public javax.ejb.EJBHome lookup(String logicalName,
                                Context context)
                         throws HomeFactoryException
Handles JNDI lookups for remotely deployed EJBs using a context object specified at run-time.
logicalName - a String representation of the EJB's logical name
 in JNDIcontext - A javax.naming.Context object to be used
 in performing the JNDI lookup
HomeFactoryException - Wraps any checked exception that occurs
 during the JNDI lookup
public javax.ejb.EJBHome lookup(String logicalName,
                                String principal,
                                String credentials)
                         throws HomeFactoryException
Handles JNDI lookups for remotely deployed EJBs using the default context properties declared in the associated configuration with the exception of the security principal and credentials which are passed at run-time.
logicalName - a String representation of the EJB's logical name
 in JNDIprincipal - String representation of the security principalcredentials - The credentials associated with the security principal
 in String format
HomeFactoryException - Wraps any checked exception that occurs
 during the JNDI lookuppublic EnterpriseBeanConfiguration getEJBDetails(String logicalName)
Utility method for retrieving an EJB's configuration information as declared in the associated XML configuration.
logicalName - String representation of the EJB's logical name
 in JNDI
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||