Extension SDK 10.1.2

oracle.jdeveloper.cm
Interface ConnectionWrapper

All Known Implementing Classes:
AbstractConnectionWrapper, IasRemoteDcmConnectionWrapper

public interface ConnectionWrapper

ConnectionWrapper is an interface object which is returned by ConnectionMananger. ConnectionWrapper by itself does not implement any connection-related functions. Rather, it provides some functionality to manage the lifecycle of ConnectionWrapper objects.

See Also:
ConnectionManager

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
 void testPresentation(java.lang.String connType)
          Tests the given presentation, throws CMException on failure.
 

Method Detail

getDescriptor

public ConnectionDescriptor getDescriptor()

getPresentation

public java.lang.Object getPresentation(java.lang.String connType)
                                 throws CMException
Returns the connection object for type connType.

connType is defined by constants in ConnectionDescriptor.

Throws:
CMException

containsPresentation

public boolean containsPresentation(java.lang.String connType)
Checks to see if a given connection type is contained in this wrapper


getPresentationIterator

public java.util.Iterator getPresentationIterator()
Enumerates the types of connections supported by this wrapper


closeConnection

public void closeConnection()
Closes all presentations owned by this ConnectionWrapper


testPresentation

public void testPresentation(java.lang.String connType)
                      throws CMException
Tests the given presentation, throws CMException on failure.

Parameters:
connType - The connection type constants as defined in the ConnectionDescriptor class.
Throws:
CMException

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.