|
OOP SimpleDaoHelper Version 1.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bentofw.dao.JndiLocator
public class JndiLocator
Service Locator. You can look up the JNDI DataSource and JNDI
environment values, in addition to EJBHome.
| Method Summary | |
|---|---|
boolean |
getBooleanEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its boolean value for it. |
byte |
getByteEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its byte value for it. |
char |
getCharEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its char value for it. |
javax.sql.DataSource |
getDataSource(java.lang.String jndiName)
Return the DataSource. |
double |
getDoubleEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its double value for it. |
javax.ejb.EJBHome |
getEjbHome(java.lang.String jndiName,
java.lang.String className)
Return the EJBHome. |
javax.ejb.EJBLocalHome |
getEjbLocalHome(java.lang.String jndiName)
Return the EJBLocalHome. |
float |
getFloatEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its float value for it. |
static JndiLocator |
getInstance()
Return the instance of this class. |
int |
getIntEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its int value for it. |
long |
getLongEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its long value for it. |
javax.jms.Queue |
getQueue(java.lang.String jndiName)
Return the Queue. |
javax.jms.QueueConnectionFactory |
getQueueConnectionFactory(java.lang.String jndiName)
Return the QueueConnectionFactory. |
short |
getShortEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its short value for it. |
java.lang.String |
getStringEnv(java.lang.String jndiName)
Looks up the JNDI environment value and returns its String value for it. |
javax.jms.Topic |
getTopic(java.lang.String jndiName)
Return the Topic. |
javax.jms.TopicConnectionFactory |
getTopicConnectionFactory(java.lang.String jndiName)
Return the TopicConnectionFactory. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JndiLocator getInstance()
public javax.ejb.EJBHome getEjbHome(java.lang.String jndiName,
java.lang.String className)
throws NestedException,
SimpleException
jndiName - The JNDI nameclassName - The fully qualified class name for the
intended EJBHome.
NestedException
SimpleException
public javax.ejb.EJBLocalHome getEjbLocalHome(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public javax.jms.QueueConnectionFactory getQueueConnectionFactory(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public javax.jms.Queue getQueue(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public javax.jms.TopicConnectionFactory getTopicConnectionFactory(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public javax.jms.Topic getTopic(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public javax.sql.DataSource getDataSource(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public boolean getBooleanEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public byte getByteEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public char getCharEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public double getDoubleEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public float getFloatEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public int getIntEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public long getLongEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public short getShortEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
public java.lang.String getStringEnv(java.lang.String jndiName)
throws NestedException,
SimpleException
jndiName - The JNDI name
NestedException
SimpleException
|
OOP SimpleDaoHelper Version 1.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.