public class TopologyProxy extends AdministeredObject
The TopologyProxy class was used to access the list of brokers within a Configuration Manager, and also to manipulate the publish/subscribe topology. In Websphere Message Broker V7 the Configuration Manager was removed and as such this class is no longer required. Applications should use WebSphere MQ to manage publish/subscribe networks, and should use the BrokerProxy class to connect directly with brokers.
For compatibility with older applications, it is possible (though not recommended) to connect to V7 brokers through the ConfigManagerProxy.getInstance() method. In this case, the returned ConfigManagerProxy object can access a dummy TopologyProxy instance using the getTopology() method. This TopologyProxy object will contain a reference to a single broker to which the application is actually connected.
Change Activity: --------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: --------- ----------- ------------- ------------------------------------ f25103.7 2004-03-18 HDMPL v6 Release f44739.7 2007-07-30 HDMPL v6.1 release: Methods now return genericized types where relevant Added adoptBroker(String, String, String) d50079 2008-04-18 HDMPL v6.1.0.2 release: Deprecated removeDeletedBroker() f51619 2008-07-14 HDMPL v7 release: Deprecated the TopologyProxy class
Modifier and Type | Class and Description |
---|---|
static class |
TopologyProxy.Connection
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
Modifier and Type | Method and Description |
---|---|
void |
addAccessControlEntries(AccessControlEntry[] accessControlList)
Deprecated.
This method is unique to Configuration Manager connections,
and as such is no longer used as of WebSphere Message Broker V7.
|
BrokerProxy |
adoptBroker(java.lang.String brokerName,
java.lang.String brokerQmgr,
java.lang.String brokerUUID)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
To create a broker use the mqsicreatebroker command instead.
|
BrokerProxy |
createBroker(java.lang.String name,
java.lang.String qmgr)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
To create a broker use the mqsicreatebroker command instead.
|
CollectiveProxy |
createCollective(java.lang.String name)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
void |
createConnectionByName(java.lang.String sourceName,
java.lang.String targetName)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
void |
createConnectionByUUID(java.lang.String sourceUUID,
java.lang.String targetUUID)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
void |
deleteBroker(java.lang.String name)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
To delete a broker use the mqsideletebroker command instead.
|
DeployResult |
deleteBroker(java.lang.String nameOrUUID,
long timeToWaitMs)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
To delete a broker use the mqsideletebroker command instead.
|
void |
deleteCollective(java.lang.String name)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
void |
deleteConnectionByName(java.lang.String sourceName,
java.lang.String targetName)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
void |
deleteConnectionByUUID(java.lang.String sourceUUID,
java.lang.String targetUUID)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
void |
deploy()
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
void |
deploy(boolean isDelta)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
DeployResult |
deploy(boolean isDelta,
long timeToWaitMs)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
AccessControlEntry[] |
getAccessControlEntries()
Deprecated.
This method is unique to Configuration Manager connections,
and as such is no longer used as of WebSphere Message Broker V7.
|
BrokerProxy |
getBroker(java.util.Properties props)
Deprecated.
Use BrokerProxy.getInstance() to access the broker directly.
|
BrokerProxy |
getBrokerByName(java.lang.String brokerName)
Deprecated.
Use BrokerProxy.getInstance() to access the broker directly.
|
java.util.Enumeration<BrokerProxy> |
getBrokers(java.util.Properties props)
Deprecated.
Use BrokerProxy.getInstance() to access the broker directly.
|
CollectiveProxy |
getCollective(java.util.Properties props)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
CollectiveProxy |
getCollectiveByName(java.lang.String collectiveName)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
java.util.Enumeration<CollectiveProxy> |
getCollectives(java.util.Properties props)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
ConfigurationObjectType |
getConfigurationObjectType()
Deprecated.
Returns the ConfigurationObjectType associated
with this AdministeredObject type.
|
ConfigurationObjectType |
getConfigurationObjectTypeOfParent()
Deprecated.
Returns the ConfigurationObjectType associated
with the logical parent of this AdministeredObject type.
|
java.util.Enumeration<TopologyProxy.Connection> |
getConnections()
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
java.util.Enumeration<TopologyProxy.Connection> |
getConnections(java.lang.String brokerUUID)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
int |
getNumberOfConnections()
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
int |
getNumberOfConnections(java.lang.String brokerUUID)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
Use WebSphere MQ to manage the publish/subscribe topology.
|
void |
removeAccessControlEntries(AccessControlEntry[] accessControlList)
Deprecated.
This method is unique to Configuration Manager connections,
and as such is no longer used as of WebSphere Message Broker V7.
|
void |
removeDeletedBroker(java.lang.String nameOrUUID)
Deprecated.
This method is not used as of WebSphere Message Broker V7.
To delete a broker use the mqsideletebroker command instead.
|
void |
setAccessControlEntries(AccessControlEntry[] accessControlList)
Deprecated.
This method is unique to Configuration Manager connections,
and as such is no longer used as of WebSphere Message Broker V7.
|
java.lang.String |
toString()
Deprecated.
Displays the name of the object
|
deregisterListener, deregisterListener, elements, equals, getAdvancedProperties, getBasicProperties, getLastBIPMessages, getLastCompletionCode, getLastUpdateUser, getLongDescription, getManagedSubcomponent, getManagedSubcomponentFromStringRepresentation, getManagedSubcomponents, getManagedSubcomponents, getManagedSubcomponents, getManagedSubcomponents, getManagedSubcomponentsAsStrings, getManagedSubcomponentsAsStrings, getName, getNumberOfSubcomponents, getParent, getProperties, getProperty, getProperty, getProperty, getProperty, getRepositoryTimestamp, getShortDescription, getTimeOfLastCompletionCode, getTimeOfLastUpdate, getType, getUUID, hasBeenPopulatedByBroker, hasBeenPopulatedByBroker, hasBeenRestrictedByBroker, hasBeenRestrictedByBroker, hasBeenRestrictedByConfigManager, hasBeenRestrictedByConfigManager, hasBeenUpdatedByConfigManager, hasBeenUpdatedByConfigManager, isAwaitingSubmissionForCreation, isAwaitingSubmissionForDeletion, isDeployed, isShared, refresh, registerListener, registerListener, registerListener, setLongDescription, setName, setProperties, setShortDescription, toVerboseString, unsubscribeFromConfigurationManagerUpdates, withName, withUUID
public BrokerProxy createBroker(java.lang.String name, java.lang.String qmgr) throws ConfigManagerProxyLoggedException
public void deleteBroker(java.lang.String name) throws ConfigManagerProxyLoggedException, ConfigManagerProxyPropertyNotInitializedException
public DeployResult deleteBroker(java.lang.String nameOrUUID, long timeToWaitMs) throws ConfigManagerProxyLoggedException, ConfigManagerProxyPropertyNotInitializedException
public void removeDeletedBroker(java.lang.String nameOrUUID) throws ConfigManagerProxyLoggedException
public void deploy() throws ConfigManagerProxyLoggedException
public void deploy(boolean isDelta) throws ConfigManagerProxyLoggedException
isDelta
- IgnoredConfigManagerProxyLoggedException
public DeployResult deploy(boolean isDelta, long timeToWaitMs) throws ConfigManagerProxyLoggedException
public java.util.Enumeration<BrokerProxy> getBrokers(java.util.Properties props) throws ConfigManagerProxyPropertyNotInitializedException
props
- Filter to select the broker.
Each key is an attribute name of the required object
and each value is the required value of the attribute. A null or
empty Properties object is guaranteed to match the broker.ConfigManagerProxyPropertyNotInitializedException
public BrokerProxy getBroker(java.util.Properties props) throws ConfigManagerProxyPropertyNotInitializedException
props
- Filter to select the broker.
Each key is an attribute name of the required object
and each value is the required value of the attribute. A null or
empty Properties object is guaranteed to match the broker.ConfigManagerProxyPropertyNotInitializedException
public BrokerProxy getBrokerByName(java.lang.String brokerName) throws ConfigManagerProxyPropertyNotInitializedException
brokerName
- ConfigManagerProxyPropertyNotInitializedException
public void createConnectionByName(java.lang.String sourceName, java.lang.String targetName) throws ConfigManagerProxyLoggedException, ConfigManagerProxyPropertyNotInitializedException
public void createConnectionByUUID(java.lang.String sourceUUID, java.lang.String targetUUID) throws ConfigManagerProxyLoggedException
public void deleteConnectionByName(java.lang.String sourceName, java.lang.String targetName) throws ConfigManagerProxyLoggedException, ConfigManagerProxyPropertyNotInitializedException
public void deleteConnectionByUUID(java.lang.String sourceUUID, java.lang.String targetUUID) throws ConfigManagerProxyLoggedException
public CollectiveProxy createCollective(java.lang.String name) throws ConfigManagerProxyLoggedException
public void deleteCollective(java.lang.String name) throws ConfigManagerProxyLoggedException, ConfigManagerProxyPropertyNotInitializedException
public java.util.Enumeration<CollectiveProxy> getCollectives(java.util.Properties props) throws ConfigManagerProxyPropertyNotInitializedException
public CollectiveProxy getCollective(java.util.Properties props) throws ConfigManagerProxyPropertyNotInitializedException
public CollectiveProxy getCollectiveByName(java.lang.String collectiveName) throws ConfigManagerProxyPropertyNotInitializedException
public java.util.Enumeration<TopologyProxy.Connection> getConnections() throws ConfigManagerProxyPropertyNotInitializedException
public BrokerProxy adoptBroker(java.lang.String brokerName, java.lang.String brokerQmgr, java.lang.String brokerUUID) throws ConfigManagerProxyLoggedException, java.lang.IllegalArgumentException, ConfigManagerProxyPropertyNotInitializedException
ConfigManagerProxyLoggedException
java.lang.IllegalArgumentException
ConfigManagerProxyPropertyNotInitializedException
public int getNumberOfConnections(java.lang.String brokerUUID) throws ConfigManagerProxyPropertyNotInitializedException
public int getNumberOfConnections() throws ConfigManagerProxyPropertyNotInitializedException
public java.util.Enumeration<TopologyProxy.Connection> getConnections(java.lang.String brokerUUID) throws ConfigManagerProxyPropertyNotInitializedException
public ConfigurationObjectType getConfigurationObjectType()
getConfigurationObjectType
in class AdministeredObject
public ConfigurationObjectType getConfigurationObjectTypeOfParent()
getConfigurationObjectTypeOfParent
in class AdministeredObject
public java.lang.String toString()
toString
in class AdministeredObject
public AccessControlEntry[] getAccessControlEntries()
public void setAccessControlEntries(AccessControlEntry[] accessControlList) throws ConfigManagerProxyLoggedException
public void addAccessControlEntries(AccessControlEntry[] accessControlList) throws ConfigManagerProxyLoggedException
public void removeAccessControlEntries(AccessControlEntry[] accessControlList) throws ConfigManagerProxyLoggedException