create
public static Topic create()
throws ConnectException,
AdminException
Admin method creating and deploying a topic on the local server.
The request fails if the destination deployement fails server side.
AdminException
- If the request fails.
create
public static Topic create(String name)
throws ConnectException,
AdminException
Admin method creating and deploying (or retrieving) a topic on the
local server.
The request fails if the destination deployement fails server side.
name
- The topic name.
AdminException
- If the request fails.
create
public static Topic create(int serverId)
throws ConnectException,
AdminException
Admin method creating and deploying a topic on a given server.
The request fails if the target server does not belong to the platform,
or if the destination deployement fails server side.
serverId
- The identifier of the server where deploying the topic.
AdminException
- If the request fails.
create
public static Topic create(int serverId,
Properties prop)
throws ConnectException,
AdminException
Admin method creating and deploying a topic on a given server.
The request fails if the target server does not belong to the platform,
or if the destination deployement fails server side.
serverId
- The identifier of the server where deploying the topic.prop
- The topic properties.
AdminException
- If the request fails.
create
public static Topic create(int serverId,
String name)
throws ConnectException,
AdminException
Admin method creating and deploying (or retrieving) a topic on a given
server with a given name.
The request fails if the target server does not belong to the platform,
or if the destination deployement fails server side.
serverId
- The identifier of the server where deploying the topic.name
- The topic name.
AdminException
- If the request fails.
create
public static Topic create(int serverId,
String className,
Properties prop)
throws ConnectException,
AdminException
Admin method creating and deploying a topic on a given server.
The request fails if the target server does not belong to the platform,
or if the destination deployement fails server side.
serverId
- The identifier of the server where deploying the topic.className
- The topic class name.prop
- The topic properties.
AdminException
- If the request fails.
create
public static Topic create(int serverId,
String name,
String className,
Properties prop)
throws ConnectException,
AdminException
Admin method creating and deploying (or retrieving) a topic on a given
server.
The request fails if the target server does not belong to the platform,
or if the destination deployement fails server side.
serverId
- The identifier of the server where deploying the topic.name
- The name of the topic.className
- The topic class name.prop
- The topic properties.
AdminException
- If the request fails.
decode
public Object decode(Hashtable h)
Decodes a Topic
which traveled through the SOAP protocol.
- decode in interface SoapObjectItf
getClusterFellows
public List getClusterFellows()
throws ConnectException,
AdminException
Monitoring method returning the list describing the cluster this topic
is part of.
The request fails if the topic is deleted server side.
AdminException
- If the request fails.
getHierarchicalFather
public Topic getHierarchicalFather()
throws ConnectException,
AdminException
Monitoring method returning the hierarchical father of this topic,
null if none.
The request fails if the topic is deleted server side.
AdminException
- If the request fails.
getSubscriptions
public int getSubscriptions()
throws ConnectException,
AdminException
Monitoring method returning the number of users that subscribes on
this topic.
If a client has many subscriptions it is only counted once.
The request fails if the topic is deleted server side.
AdminException
- If the request fails.
getTopicName
public String getTopicName()
throws JMSException
API method.
toString
public String toString()
Returns a String image of the topic.