|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.cm.AbstractConnectionWrapper
oracle.jdeveloper.cm.JndiConnectionWrapper
JndiConnectionWrapper
implements
ConnectionWrapper
and provides functionality for
connecting to a JNDI Content
ConnectionWrapper
Field Summary |
Fields inherited from class oracle.jdeveloper.cm.AbstractConnectionWrapper |
_connTypes, _descriptor, _manager, _prompter |
Method Summary | |
void |
closeConnection()
Closes all presentations owned by this ConnectionWrapper |
boolean |
containsPresentation(java.lang.String connType)
Checks to see if a given connection type is contained in this wrapper |
javax.naming.Context |
getContext()
|
java.lang.Object |
getPresentation(java.lang.String connType)
Returns the connection object for type connType . |
void |
testPresentation(java.lang.String connType)
Tests the given presentation, throws CMException on failure. |
Methods inherited from class oracle.jdeveloper.cm.AbstractConnectionWrapper |
getDescriptor, getPresentationIterator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.Object getPresentation(java.lang.String connType) throws CMException
ConnectionWrapper
connType
.
connType
is defined by constants in
ConnectionDescriptor
.
getPresentation
in interface ConnectionWrapper
getPresentation
in class AbstractConnectionWrapper
SessionCtx
object associated with this
connection.
CMException
- occurs if there is a problem creating the
new connection.public javax.naming.Context getContext()
Context
object associated with this JNDI
connection.public boolean containsPresentation(java.lang.String connType)
ConnectionWrapper
containsPresentation
in interface ConnectionWrapper
containsPresentation
in class AbstractConnectionWrapper
public void closeConnection()
ConnectionWrapper
ConnectionWrapper
closeConnection
in interface ConnectionWrapper
closeConnection
in class AbstractConnectionWrapper
public void testPresentation(java.lang.String connType) throws CMException
ConnectionWrapper
CMException
on failure.
testPresentation
in interface ConnectionWrapper
testPresentation
in class AbstractConnectionWrapper
CMException
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.