|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
EConnectionFactory provides an interface for getting connection to an EIS/Host instance. An implementation of EConnectionFactory interface is provided by a connector implementation. Application code looks up a EConnectionFactory instance from JNDI namespace and uses it to get host connections. An implementation class for EConnectionFactory is required to implement java.io.Serializable and javax.naming.Referenceable interfaces to support JNDI registration.
| Method Summary | |
EConnection |
getConnection()
This method gets a connection to a Host system instance. |
EConnection |
getConnection(java.lang.String properties)
This method gets a connection to a Host system instance. |
javax.naming.Reference |
getReference()
This method gets the JNDI Reference instance. |
void |
setReference(javax.naming.Reference ref)
This method sets the JNDI Reference instance. |
| Method Detail |
public EConnection getConnection()
public EConnection getConnection(java.lang.String properties)
properties - A semi-colon delimited String of connection specific properties.
For example: user=jbloggs;password=eontec;paramX=valueX;
public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingExceptionpublic void setReference(javax.naming.Reference ref)
ref - A Reference instance
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||