|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.management.domain.handler.impl.QpidDomainObject
public class QpidDomainObject
This is a sample entity used on QMan test case.
Constructor Summary | |
---|---|
QpidDomainObject()
Builds a new QpidDomainObject with default values for its properties. |
Method Summary | |
---|---|
InvocationResult |
echoWithArrays(Long[] longs,
Boolean[] booleans,
Double[] doubles,
Float[] floats,
Integer[] integers,
Short[] shorts,
String[] strings,
URI[] uris,
Date[] dates)
Echo method that accepts and returns wrapper type arrays . |
InvocationResult |
echoWithByteArray(byte[] byteArray)
Echo method that accepts and returns a byte array. |
InvocationResult |
echoWithMap(Map<String,Object> map)
Echo method that accepts and returns a Map. |
InvocationResult |
echoWithSimpleTypeArrays(long[] longs,
boolean[] booleans,
double[] doubles,
float[] floats,
int[] integers,
short[] shorts)
Echo method that accepts and returns primitive type arrays. |
InvocationResult |
echoWithSimpleTypes(Long aLong,
Boolean aBoolean,
Double aDouble,
Float aFloat,
Integer anInteger,
Short aShort,
String aString,
URI anURI,
Date aDate)
Echo method that accepts and returns wrapper types. |
InvocationResult |
echoWithUUID(UUID uuid)
Echo method that accepts and returns an UUID. |
Map<String,Object> |
getArguments()
Returns the arguments property value. |
byte[] |
getByteArray()
|
Integer |
getConsumerCount()
Returns the consumerCount property value. |
Boolean |
getDurable()
Returns the durable property value. |
Date |
getExpireTime()
Returns the expireTime property value. |
Short |
getMgmtPubInterval()
Returns the mgmtPubInterval property value. |
Long |
getMsgTotalEnqueues()
Returns the msgTotalEnqueues property value. |
String |
getName()
Returns the name property value. |
String |
getType()
Sets the type property value. |
UUID |
getVhostRef()
Returns the VHostRef property value. |
void |
setExpireTime(Date expireTime)
Sets the expireTime property value. |
void |
setMgmtPubInterval(Short value)
Sets the mgmtPubInterval property value. |
void |
setType(String type)
Returns the type property value. |
void |
throwsException()
A method that is throwing an exception, everytime. |
InvocationResult |
voidWithoutArguments()
Sample echo method that return an empty result object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QpidDomainObject()
Method Detail |
---|
public void throwsException() throws Exception
throwsException
in interface QpidDomainObjectMBean
Exception
- each time the method is called.public InvocationResult voidWithoutArguments()
voidWithoutArguments
in interface QpidDomainObjectMBean
public InvocationResult echoWithSimpleTypeArrays(long[] longs, boolean[] booleans, double[] doubles, float[] floats, int[] integers, short[] shorts)
echoWithSimpleTypeArrays
in interface QpidDomainObjectMBean
longs
- an array of long.booleans
- an array of boolean.doubles
- an array of double.floats
- an array of float.integers
- an array of int.shorts
- an array of short.
public InvocationResult echoWithSimpleTypes(Long aLong, Boolean aBoolean, Double aDouble, Float aFloat, Integer anInteger, Short aShort, String aString, URI anURI, Date aDate)
echoWithSimpleTypes
in interface QpidDomainObjectMBean
aLong
- a java.lang.LongaBoolean
- a java.lang.BooleanaDouble
- a java.lang.DoubleaFloat
- a java.lang.FloatanInteger
- a java.lang.IntegeraShort
- a java.lang.ShortaString
- a java.lang.StringanURI
- a java.net.URIaDate
- a java.util.Date
public InvocationResult echoWithArrays(Long[] longs, Boolean[] booleans, Double[] doubles, Float[] floats, Integer[] integers, Short[] shorts, String[] strings, URI[] uris, Date[] dates)
echoWithArrays
in interface QpidDomainObjectMBean
longs
- an array of java.lang.Longbooleans
- an array of java.lang.Booleandoubles
- an array of java.lang.Doublefloats
- an array of java.lang.Floatintegers
- an array of java.lang.Integershorts
- an array of java.lang.Shortstrings
- an array of java.lang.Stringuris
- an array of java.net.URIdates
- an array of java.util.Date
public InvocationResult echoWithByteArray(byte[] byteArray)
echoWithByteArray
in interface QpidDomainObjectMBean
byteArray
- a byte array
public InvocationResult echoWithUUID(UUID uuid)
echoWithUUID
in interface QpidDomainObjectMBean
uuid
- a java.util.UUID.
public InvocationResult echoWithMap(Map<String,Object> map)
echoWithMap
in interface QpidDomainObjectMBean
map
- a java.util.Map.
public UUID getVhostRef()
QpidDomainObjectMBean
getVhostRef
in interface QpidDomainObjectMBean
public String getName()
QpidDomainObjectMBean
getName
in interface QpidDomainObjectMBean
public Boolean getDurable()
QpidDomainObjectMBean
getDurable
in interface QpidDomainObjectMBean
public Map<String,Object> getArguments()
QpidDomainObjectMBean
getArguments
in interface QpidDomainObjectMBean
public Long getMsgTotalEnqueues()
QpidDomainObjectMBean
getMsgTotalEnqueues
in interface QpidDomainObjectMBean
public Integer getConsumerCount()
QpidDomainObjectMBean
getConsumerCount
in interface QpidDomainObjectMBean
public Date getExpireTime()
QpidDomainObjectMBean
getExpireTime
in interface QpidDomainObjectMBean
public Short getMgmtPubInterval()
QpidDomainObjectMBean
getMgmtPubInterval
in interface QpidDomainObjectMBean
public void setExpireTime(Date expireTime)
QpidDomainObjectMBean
setExpireTime
in interface QpidDomainObjectMBean
public void setMgmtPubInterval(Short value)
QpidDomainObjectMBean
setMgmtPubInterval
in interface QpidDomainObjectMBean
public void setType(String type)
QpidDomainObjectMBean
setType
in interface QpidDomainObjectMBean
public String getType()
QpidDomainObjectMBean
getType
in interface QpidDomainObjectMBean
public byte[] getByteArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |