|
Joram 5.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.admin.AbstractAdminMessage
org.objectweb.joram.shared.admin.AdminRequest
org.objectweb.joram.shared.admin.CreateDestinationRequest
public class CreateDestinationRequest
A CreateDestinationRequest
instance requests the creation of a
destination on a given server.
Field Summary |
---|
Constructor Summary | |
---|---|
CreateDestinationRequest()
|
|
CreateDestinationRequest(int serverId,
java.lang.String name,
java.lang.String className,
java.util.Properties props,
byte expectedType)
Constructs a CreateDestinationRequest instance. |
Method Summary | |
---|---|
protected int |
getClassId()
|
java.lang.String |
getClassName()
Returns the class name of destination (queue, topic, ...). |
java.lang.String |
getDestinationName()
Returns the name attributed to the destination. |
byte |
getExpectedType()
|
java.util.Properties |
getProperties()
Returns the destination properties. |
int |
getServerId()
Returns the id of the server where deploying the destination. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.shared.admin.AbstractAdminMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateDestinationRequest(int serverId, java.lang.String name, java.lang.String className, java.util.Properties props, byte expectedType)
CreateDestinationRequest
instance.
serverId
- The id of the server where deploying the destination.name
- Name attributed to the destination.className
- Name of the class to be instantiated.public CreateDestinationRequest()
Method Detail |
---|
public final int getServerId()
public final java.lang.String getDestinationName()
public final java.lang.String getClassName()
public final java.util.Properties getProperties()
public final byte getExpectedType()
protected int getClassId()
getClassId
in class AdminRequest
public void readFrom(java.io.InputStream is) throws java.io.IOException
Streamable
is
- the stream to read data from in order to restore the object
java.io.IOException
public void writeTo(java.io.OutputStream os) throws java.io.IOException
Streamable
os
- the stream to write the object to
java.io.IOException
|
Joram 5.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |