|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.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
ConnectionWrapper
connType
.
connType
is defined by constants in ConnectionDescriptor
.
getPresentation
in interface ConnectionWrapper
CMException
- occurs if there is a problem creating the new connection.public boolean containsPresentation(java.lang.String connType)
ConnectionWrapper
containsPresentation
in interface ConnectionWrapper
public void closeConnection()
ConnectionWrapper
ConnectionWrapper
closeConnection
in interface ConnectionWrapper
public java.util.Iterator getPresentationIterator()
null
if there are no supported connection typesgetPresentationIterator
in interface ConnectionWrapper
public void testPresentation(java.lang.String connType) throws CMException
ConnectionWrapper
CMException
on failure.testPresentation
in interface ConnectionWrapper
connType
- 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, 2004, Oracle. All rights reserved.