|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
public ConnectionDescriptor getDescriptor()
public java.lang.Object getPresentation(java.lang.String connType) throws CMException
connType
.
connType
is defined by constants in
ConnectionDescriptor
.
CMException
public boolean containsPresentation(java.lang.String connType)
public java.util.Iterator getPresentationIterator()
public void closeConnection()
ConnectionWrapper
public void testPresentation(java.lang.String connType) throws CMException
CMException
on failure.
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.