|
Novell exteNd Director 5.2 API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface that defines a service locator for JNDI and J2EE resources. It's used to perform JNDI lookups and return J2EE resources including EJBs, connections, and UserTransaction objects.
| Method Summary | |
Connection |
getDbConnection()
Gets a pooled database connection from the application server. |
Connection |
getDbConnection(String resRefName)
Gets a pooled database connection from the application server for a named data source. |
EJBHome |
getEjbHome(String ejbRefName)
Gets an EJB home interface from the application server. |
Object |
getEnvEntry(String envEntryName)
Gets the value of an environment entry in the JNDI environment context. |
UserTransaction |
getUserTransaction()
Gets a UserTransaction interface from the application server. |
void |
setInitialContext(Hashtable properties)
Sets the properties for an initial context. |
| Method Detail |
public Connection getDbConnection()
throws EboUnrecoverableSystemException
public Connection getDbConnection(String resRefName)
throws EboUnrecoverableSystemException
resRefName - The reference name of the data source from which a
connection should be returned. By convention, this name should be
prefixed with jdbc/. This method supports lookups using both the environment context and
an initial context.
public Object getEnvEntry(String envEntryName)
throws EboUnrecoverableSystemException
envEntryName - The name of the entry for which a value should
be returned.
public EJBHome getEjbHome(String ejbRefName)
throws EboUnrecoverableSystemException
ejbRefName - The reference name of the EJB for which you want a home interface.
By convention, this name should be prefixed with ejb/.
public UserTransaction getUserTransaction()
throws EboUnrecoverableSystemException
public void setInitialContext(Hashtable properties)
throws EboUnrecoverableSystemException
properties - A Hashtable specifying the properties for the initial context environment.
|
Novell exteNd Director 5.2 API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||