|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EConnectionFactory
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(String properties)
This method gets a connection to a Host system instance. |
Reference |
getReference()
This method gets the JNDI Reference instance. |
void |
setReference(Reference ref)
This method sets the JNDI Reference instance. |
Method Detail |
---|
EConnection getConnection()
EConnection getConnection(String properties)
properties
- A semi-colon delimited String of connection specific properties.
For example: user=jbloggs;password=eontec;paramX=valueX;
Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
void setReference(Reference ref)
ref
- A Reference instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |