|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.cics.core.comm.ConnectionRegistry
public class ConnectionRegistry
Registry for all connections defined to this plugin by the com.ibm.cics.core.comm.connections extension point. Provides access to the
descriptor classes IConnectionCategory and IConnectionDescriptor.
| Method Summary | |
|---|---|
IConnectionDescriptor |
find(java.lang.String id)
Finds the IConnectionDescriptor registered with the supplied ID. |
IConnectionCategory |
findCategory(java.lang.Class<? extends IConnection> connectionType)
Finds the IConnectionCategory a given connectionType belongs to. |
IConnectionCategory |
findCategory(java.lang.String id)
Deprecated. use getConnectionCategory(String) |
IConnectionCategory[] |
getConnectionCategories()
Get all IConnectionCategorys |
IConnectionCategory |
getConnectionCategory(java.lang.String aCategoryID)
Finds an IConnectionCategory with the supplied ID. |
static ConnectionRegistry |
getConnectionRegistry()
Get the singleton instance of this ConnectionRegistry |
IConnectionDescriptor[] |
getConnections()
Get all IConnectionDescriptors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public IConnectionCategory findCategory(java.lang.Class<? extends IConnection> connectionType)
IConnectionCategory a given connectionType belongs to.
connectionType - a subclass of the class registered as the connection type for a particular category.
IConnectionCategory associated with classes of connectionType or null if no such category exists.public IConnectionDescriptor find(java.lang.String id)
IConnectionDescriptor registered with the supplied ID.
id - id to search for
IConnectionDescriptor or null if none can be found.public IConnectionDescriptor[] getConnections()
IConnectionDescriptors
IConnectionDescriptors, which may be empty.public IConnectionCategory[] getConnectionCategories()
IConnectionCategorys
IConnectionCategorys, which may be
empty.@Deprecated public IConnectionCategory findCategory(java.lang.String id)
getConnectionCategory(String)
IConnectionCategory with the supplied ID.
id - the ID of the IConnectionCategory to return
null if none can be found.public static ConnectionRegistry getConnectionRegistry()
public IConnectionCategory getConnectionCategory(java.lang.String aCategoryID)
IConnectionCategory with the supplied ID.
id - the ID of the IConnectionCategory to return
null if none can be found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||