org.objectweb.joram.mom.dest
Interface AdminTopicMBean

All Superinterfaces:
AgentMBean, ClusterDestinationMBean, DestinationMBean, TopicMBean
All Known Implementing Classes:
AdminTopic

public interface AdminTopicMBean
extends TopicMBean


Method Summary
 void createQueue(java.lang.String name)
          Creates a new queue on the local server.
 void createQueue(java.lang.String name, int serverId)
          Creates a new queue on the selected server.
 void createQueue(java.lang.String name, java.lang.String queueClassName, int serverId)
          Creates a new queue on the selected server.
 void createTopic(java.lang.String name)
          Creates a new topic on the local server.
 void createTopic(java.lang.String name, int serverId)
          Creates a new topic on the selected server.
 void createTopic(java.lang.String name, java.lang.String topicClassName, int serverId)
          Creates a new topic on the selected server.
 void createUser(java.lang.String user, java.lang.String passwd)
          Creates a new user on the local server.
 void createUser(java.lang.String user, java.lang.String passwd, int serverId)
          Creates a new user on the selected server.
 void createUser(java.lang.String user, java.lang.String passwd, int serverId, java.lang.String identityClassName)
          Creates a new user on the selected server.
 
Methods inherited from interface org.objectweb.joram.mom.dest.TopicMBean
getNumberOfSubscribers, getSubscriberIds
 
Methods inherited from interface org.objectweb.joram.mom.dest.DestinationMBean
delete, getCreationDate, getCreationTimeInMillis, getDestinationId, getDMQId, getName, getNbMsgsDeliverSinceCreation, getNbMsgsReceiveSinceCreation, getNbMsgsSentToDMQSinceCreation, getPeriod, getRight, getRights, isFreeReading, isFreeWriting, setFreeReading, setFreeWriting, setPeriod, toString
 
Methods inherited from interface fr.dyade.aaa.agent.AgentMBean
getAgentId, getCommitTime, getReactNb, getReactTime, isFixed
 
Methods inherited from interface org.objectweb.joram.mom.dest.ClusterDestinationMBean
getClusterElements
 

Method Detail

createTopic

void createTopic(java.lang.String name,
                 java.lang.String topicClassName,
                 int serverId)
Creates a new topic on the selected server.

Parameters:
name - the topic name
topicClassName - the topic class to instantiate
serverId - the server where the topic will be deployed

createTopic

void createTopic(java.lang.String name,
                 int serverId)
Creates a new topic on the selected server. The topic will be an instance of Topic.

Parameters:
name - the topic name
serverId - the server where the topic will be deployed

createTopic

void createTopic(java.lang.String name)
Creates a new topic on the local server.

Parameters:
name - the topic name

createQueue

void createQueue(java.lang.String name,
                 java.lang.String queueClassName,
                 int serverId)
Creates a new queue on the selected server.

Parameters:
name - the topic name
queueClassName - the queue class to instantiate
serverId - the server where the queue will be deployed

createQueue

void createQueue(java.lang.String name,
                 int serverId)
Creates a new queue on the selected server. The queue will be an instance of Queue.

Parameters:
name - the topic name
serverId - the server where the queue will be deployed

createQueue

void createQueue(java.lang.String name)
Creates a new queue on the local server.

Parameters:
name - the queue name

createUser

void createUser(java.lang.String user,
                java.lang.String passwd,
                int serverId,
                java.lang.String identityClassName)
                throws java.lang.Exception
Creates a new user on the selected server.

Parameters:
user - the user name
passwd - the user password
serverId - the server where the user will be created
identityClassName - the identity class name to instantiate
Throws:
java.lang.Exception

createUser

void createUser(java.lang.String user,
                java.lang.String passwd,
                int serverId)
                throws java.lang.Exception
Creates a new user on the selected server. SimpleIdentity class is used.

Parameters:
user - the user name
passwd - the user password
serverId - the server where the user will be created
Throws:
java.lang.Exception

createUser

void createUser(java.lang.String user,
                java.lang.String passwd)
                throws java.lang.Exception
Creates a new user on the local server. SimpleIdentity class is used.

Parameters:
user - the user name
passwd - the user password
Throws:
java.lang.Exception


Copyright © 2011 ScalAgent D.T.. All Rights Reserved.