Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateQueue(String name)Creates a new queue on the local server.voidcreateQueue(String name, int serverId)Creates a new queue on the selected server.voidcreateQueue(String name, String queueClassName, int serverId)Creates a new queue on the selected server.voidcreateTopic(String name)Creates a new topic on the local server.voidcreateTopic(String name, int serverId)Creates a new topic on the selected server.voidcreateTopic(String name, String topicClassName, int serverId)Creates a new topic on the selected server.voidcreateUser(String user, String passwd)Creates a new user on the local server.voidcreateUser(String user, String passwd, int serverId)Creates a new user on the selected server.voidcreateUser(String user, String passwd, int serverId, String identityClassName)Creates a new user on the selected server.-
Methods inherited from interface fr.dyade.aaa.agent.AgentMBean
getAgentId, getCommitTime, getReactNb, getReactTime, isAgentProfiling, isFixed, resetCommitTime, resetReactTime, resetTimer, setAgentProfiling
-
Methods inherited from interface org.objectweb.joram.mom.dest.ClusterDestinationMBean
getClusterElements
-
Methods inherited from interface org.objectweb.joram.mom.dest.DestinationMBean
delete, getCreationDate, getCreationTimeInMillis, getDestinationId, getDMQId, getName, getNbMsgsDeliverSinceCreation, getNbMsgsReceiveSinceCreation, getNbMsgsSentToDMQSinceCreation, getPeriod, getRight, getRights, getType, isFreeReading, isFreeWriting, setFreeReading, setFreeWriting, setPeriod, toString
-
Methods inherited from interface org.objectweb.joram.mom.dest.TopicMBean
getNumberOfSubscribers, getSubscriberIds
-
-
-
-
Method Detail
-
createTopic
void createTopic(String name, String topicClassName, int serverId)
Creates a new topic on the selected server.- Parameters:
name- the topic nametopicClassName- the topic class to instantiateserverId- the server where the topic will be deployed
-
createTopic
void createTopic(String name, int serverId)
Creates a new topic on the selected server. The topic will be an instance ofTopic.- Parameters:
name- the topic nameserverId- the server where the topic will be deployed
-
createTopic
void createTopic(String name)
Creates a new topic on the local server.- Parameters:
name- the topic name
-
createQueue
void createQueue(String name, String queueClassName, int serverId)
Creates a new queue on the selected server.- Parameters:
name- the topic namequeueClassName- the queue class to instantiateserverId- the server where the queue will be deployed
-
createQueue
void createQueue(String name, int serverId)
Creates a new queue on the selected server. The queue will be an instance ofQueue.- Parameters:
name- the topic nameserverId- the server where the queue will be deployed
-
createQueue
void createQueue(String name)
Creates a new queue on the local server.- Parameters:
name- the queue name
-
createUser
void createUser(String user, String passwd, int serverId, String identityClassName) throws Exception
Creates a new user on the selected server.- Parameters:
user- the user namepasswd- the user passwordserverId- the server where the user will be createdidentityClassName- the identity class name to instantiate- Throws:
Exception
-
createUser
void createUser(String user, String passwd, int serverId) throws Exception
Creates a new user on the selected server.SimpleIdentityclass is used.- Parameters:
user- the user namepasswd- the user passwordserverId- the server where the user will be created- Throws:
Exception
-
createUser
void createUser(String user, String passwd) throws Exception
Creates a new user on the local server.SimpleIdentityclass is used.- Parameters:
user- the user namepasswd- the user password- Throws:
Exception
-
-