|
Sun Adapter Common API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationConnectionFactory
This interface represents an EIS specific connection factory for getting the Application Connection. The application connection factory must implement Referenceable and Serializable so that it can be bound to a directory.
Method Summary | |
---|---|
ApplicationConnection |
getConnection()
Gets the Application Connection which represents a connection handle to the underlying EIS. |
ApplicationConnection |
getConnection(java.util.Properties connProps)
Gets the Application Connection which represents a connection handle to the underlying EIS using the connection information in the Properties. |
Methods inherited from interface javax.naming.Referenceable |
---|
getReference |
Method Detail |
---|
ApplicationConnection getConnection() throws ApplicationConnectionException
ApplicationConnectionException
- upon error.ApplicationConnection getConnection(java.util.Properties connProps) throws ApplicationConnectionException
connProps
- Properties containing connection specific information.
ApplicationConnectionException
- upon error.
|
Sun Adapter Common API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |