|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DestinationImplMBean
Method Summary | |
---|---|
void |
delete()
Deletes the destination. |
java.lang.String |
getCreationDate()
Returns this destination creation time through a String of
the form: dow mon dd hh:mm:ss zzz yyyy . |
long |
getCreationTimeInMillis()
Returns this destination creation time as a long. |
java.lang.String |
getDestinationId()
Returns the unique identifier of the destination. |
java.lang.String |
getDMQId()
Return the unique identifier of DMQ set for this destnation if any. |
java.lang.String |
getName()
Returns the name of the destination. |
long |
getNbMsgsDeliverSinceCreation()
Returns the number of messages delivered since creation time of this destination. |
long |
getNbMsgsReceiveSinceCreation()
Returns the number of messages received since creation time of this destination. |
long |
getNbMsgsSentToDMQSinceCreation()
Returns the number of erroneous messages forwarded to the DMQ since creation time of this destination.. |
long |
getPeriod()
Returns the period value of this destination, -1 if not set. |
java.lang.String |
getRight(java.lang.String userid)
Returns a string representation of rights set on this destination for a particular user. |
java.lang.String[] |
getRights()
Returns a string representation of all rights set on this destination. |
boolean |
isFreeReading()
Tests if this destination is free for reading. |
boolean |
isFreeWriting()
Tests if this destination is free for writing. |
void |
setFreeReading(boolean on)
Sets the FreeReading attribute for this destination. |
void |
setFreeWriting(boolean on)
Sets the FreeWriting attribute for this destination. |
void |
setPeriod(long period)
Sets or unsets the period for this destination. |
java.lang.String |
toString()
Returns a string representation of this destination. |
Method Detail |
---|
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String getName()
java.lang.String getDestinationId()
boolean isFreeReading()
void setFreeReading(boolean on)
FreeReading
attribute for this destination.
on
- if true anyone can receive message from this destination.boolean isFreeWriting()
void setFreeWriting(boolean on)
FreeWriting
attribute for this destination.
on
- if true anyone can send message to this destination.java.lang.String[] getRights()
java.lang.String getRight(java.lang.String userid)
userid
- The user's unique identifier.
java.lang.String getDMQId()
long getCreationTimeInMillis()
java.lang.String getCreationDate()
String
of
the form: dow mon dd hh:mm:ss zzz yyyy
.
long getNbMsgsReceiveSinceCreation()
long getNbMsgsDeliverSinceCreation()
long getNbMsgsSentToDMQSinceCreation()
long getPeriod()
void setPeriod(long period)
period
- The period value to be set or -1 for unsetting previous value.void delete()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |