|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.cm.AbstractConnectionWrapper
AbstractConnectionWrapper is a generic object which
implements part of the ConnectionWrapper. interface
Classes implementing ConnectionWrapper may wish to
extend this base instead of implementing ConnectionWrapper directly.
ConnectionWrapper| Field Summary | |
protected java.util.ArrayList |
_connTypes
|
protected ConnectionDescriptor |
_descriptor
|
protected ConnectionManager |
_manager
|
protected ConnectInfoPrompter |
_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 |
ConnectionDescriptor |
getDescriptor()
|
java.lang.Object |
getPresentation(java.lang.String connType)
Returns the connection object for type connType. |
java.util.Iterator |
getPresentationIterator()
Enumerates the types of connections supported by this wrapper Note: this method will return null if there are no
supported connection types |
void |
testPresentation(java.lang.String connType)
Tests the given presentation, throws CMException on failure. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ConnectionManager _manager
protected ConnectionDescriptor _descriptor
protected ConnectInfoPrompter _prompter
protected java.util.ArrayList _connTypes
| Method Detail |
public ConnectionDescriptor getDescriptor()
getDescriptor in interface ConnectionWrapper
public java.lang.Object getPresentation(java.lang.String connType)
throws CMException
ConnectionWrapperconnType.
connType is defined by constants in
ConnectionDescriptor.
getPresentation in interface ConnectionWrapperCMException - occurs if there is a problem creating the
new connection.public boolean containsPresentation(java.lang.String connType)
ConnectionWrapper
containsPresentation in interface ConnectionWrapperpublic void closeConnection()
ConnectionWrapperConnectionWrapper
closeConnection in interface ConnectionWrapperpublic java.util.Iterator getPresentationIterator()
null if there are no
supported connection types
getPresentationIterator in interface ConnectionWrapper
public void testPresentation(java.lang.String connType)
throws CMException
ConnectionWrapperCMException on failure.
testPresentation in interface ConnectionWrapperconnType - The connection type constants as defined in the
ConnectionDescriptor class.
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.