|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.connector.hl7.framework.persist.connection.DBConnectionFactory
public class DBConnectionFactory
DOCUMENT ME!
Constructor Summary | |
---|---|
DBConnectionFactory(java.util.Properties prop,
javax.naming.InitialContext initialContext)
constructor |
Method Summary | |
---|---|
DBConnection |
createConnection()
Creates and returns a connection /** Creates and returns a connection |
int |
getType()
return database type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBConnectionFactory(java.util.Properties prop, javax.naming.InitialContext initialContext) throws HL7ApplicationException
prop
- Propertiescontext
- InitialContext
HL7ApplicationException
Method Detail |
---|
public DBConnection createConnection() throws java.lang.Exception
java.lang.Exception
- Throws exception if a counnection could not be obtainedpublic int getType()
|
Sun Adapter for TCP/IP HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |