Class Hierarchy All Classes All Fields and Methods

Class com.ibm.broker.config.proxy.TopicRootProxy

java.lang.Object
        com.ibm.broker.config.proxy.AdministeredObject
                com.ibm.broker.config.proxy.TopicProxy
                        com.ibm.broker.config.proxy.TopicRootProxy

public class TopicRootProxy
extends TopicProxy

Represents the root of the topic hierarchy.

In order to use TopicRootProxy objects, applications must first obtain handles to them. Here is an example of how to do this:

     ConfigManagerConnectionParameters cmcp =
         new MQConfigManagerConnectionParameters("localhost", 1414, "QMGR");
     ConfigManagerProxy cmp = ConfigManagerProxy.getInstance(cmcp);
     TopicRootProxy t = cmp.getTopicRoot();
 

com.ibm.broker.config.proxy.TopicRootProxy extends com.ibm.broker.config.proxy.TopicProxy

Responsibilities Represents the root node in the topic tree. Is also a container of topics. Sub-topics are also represented as TopicProxy objects, and the result is a Topic hierarchy.
Internal Collaborators None


 Change Activity:
 -------- ----------- -------------   ------------------------------------
 Reason:  Date:       Originator:     Comments:
 -------- ----------- -------------   ------------------------------------
 25103.1  2004-03-22  HDMPL           v6 Release
 
 

Method Index
Method Description
void addDefaultPolicy(TopicProxy.Policy) Does nothing when applied to the topic root.
void deploy() Deploys any changes to the topic tree to all brokers
void deploy(boolean) Deploys the topic tree to all brokers.
DeployResult deploy(boolean, long) Deploys the topic tree to the brokers
ConfigurationObjectType getConfigurationObjectType() Returns the ConfigurationObjectType associated with this AdministeredObject type.
ConfigurationObjectType getConfigurationObjectTypeOfParent() Returns the ConfigurationObjectType associated with the logical parent of this AdministeredObject type.
Enumeration getGroups() Returns an Enumeration of all group principals known to the User Name Server.
Enumeration getPublicGroups() Returns an Enumeration of all public group principals known to the User Name Server.
Enumeration getUsers() Returns an Enumeration of all user principals known to the User Name Server.
void removeDefaultPolicy() Does nothing when applied to the topic root.
String toString() Displays the name of the object

Methods

addDefaultPolicy

public void addDefaultPolicy(TopicProxy.Policy defaultPolicy) throws ConfigManagerProxyLoggedException

Does nothing when applied to the topic root.

deploy

public void deploy() throws ConfigManagerProxyLoggedException

Deploys any changes to the topic tree to all brokers

deploy

public void deploy(boolean isDelta) throws ConfigManagerProxyLoggedException

Deploys the topic tree to all brokers. The method returns as soon as the deploy request is enqueued for sending to the Configuration Manager.

deploy

public DeployResult deploy(boolean isDelta,
                           long timeToWaitMs) throws ConfigManagerProxyLoggedException

Deploys the topic tree to the brokers

getConfigurationObjectType

public ConfigurationObjectType getConfigurationObjectType() 

Returns the ConfigurationObjectType associated with this AdministeredObject type.

getConfigurationObjectTypeOfParent

public ConfigurationObjectType getConfigurationObjectTypeOfParent() 

Returns the ConfigurationObjectType associated with the logical parent of this AdministeredObject type.

getGroups

public Enumeration getGroups() throws ConfigManagerProxyPropertyNotInitializedException

Returns an Enumeration of all group principals known to the User Name Server.

getPublicGroups

public Enumeration getPublicGroups() throws ConfigManagerProxyPropertyNotInitializedException

Returns an Enumeration of all public group principals known to the User Name Server.

getUsers

public Enumeration getUsers() throws ConfigManagerProxyPropertyNotInitializedException

Returns an Enumeration of all user principals known to the User Name Server.

removeDefaultPolicy

public void removeDefaultPolicy() throws ConfigManagerProxyLoggedException

Does nothing when applied to the topic root.

toString

public String toString() 

Displays the name of the object

Class Hierarchy All Classes All Fields and Methods