org.apache.qpid.management.domain.handler.impl
Interface QpidDomainObjectMBean

All Known Implementing Classes:
QpidDomainObject

public interface QpidDomainObjectMBean

Management interface for Qpid domain object.


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.
 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 mgmtPubInterval)
          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.
 

Method Detail

throwsException

void throwsException()
                     throws Exception
A method that is throwing an exception, everytime.

Throws:
Exception - each time the method is called.

voidWithoutArguments

InvocationResult voidWithoutArguments()
Sample echo method that return an empty result object. That is, an object with only status code / text valorized (no output parameters).

Returns:
an empty result object.

echoWithSimpleTypes

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.

Parameters:
aLong - a java.lang.Long
aBoolean - a java.lang.Boolean
aDouble - a java.lang.Double
aFloat - a java.lang.Float
anInteger - a java.lang.Integer
aShort - a java.lang.Short
aString - a java.lang.String
anURI - a java.net.URI
aDate - a java.util.Date
Returns:
a result object with the same given parameters (as output parameters)

echoWithArrays

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 .

Parameters:
longs - an array of java.lang.Long
booleans - an array of java.lang.Boolean
doubles - an array of java.lang.Double
floats - an array of java.lang.Float
integers - an array of java.lang.Integer
shorts - an array of java.lang.Short
strings - an array of java.lang.String
uris - an array of java.net.URI
dates - an array of java.util.Date
Returns:
a result object with the same input parameters (as output parameters).

echoWithSimpleTypeArrays

InvocationResult echoWithSimpleTypeArrays(long[] longs,
                                          boolean[] booleans,
                                          double[] doubles,
                                          float[] floats,
                                          int[] integers,
                                          short[] shorts)
Echo method that accepts and returns primitive type arrays.

Parameters:
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.
Returns:
a result object with the same input parameters (as output parameters).

echoWithByteArray

InvocationResult echoWithByteArray(byte[] byteArray)
Echo method that accepts and returns a byte array.

Parameters:
byteArray - a byte array
Returns:
a result containing the input byte array (as output parameter)

echoWithUUID

InvocationResult echoWithUUID(UUID uuid)
Echo method that accepts and returns an UUID.

Parameters:
uuid - a java.util.UUID.
Returns:
a result containing the input UUID (as output parameter)

echoWithMap

InvocationResult echoWithMap(Map<String,Object> map)
Echo method that accepts and returns a Map.

Parameters:
map - a java.util.Map.
Returns:
a result containing the input Map (as output parameter)

getVhostRef

UUID getVhostRef()
Returns the VHostRef property value.

Returns:
the VHostRef property value.

getName

String getName()
Returns the name property value.

Returns:
the name property value.

getDurable

Boolean getDurable()
Returns the durable property value.

Returns:
the durable property value.

getArguments

Map<String,Object> getArguments()
Returns the arguments property value.

Returns:
the arguments property value.

getMsgTotalEnqueues

Long getMsgTotalEnqueues()
Returns the msgTotalEnqueues property value.

Returns:
the msgTotalEnqueues property value.

getConsumerCount

Integer getConsumerCount()
Returns the consumerCount property value.

Returns:
the consumerCount property value.

getMgmtPubInterval

Short getMgmtPubInterval()
Returns the mgmtPubInterval property value.

Returns:
the mgmtPubInterval property value.

setMgmtPubInterval

void setMgmtPubInterval(Short mgmtPubInterval)
Sets the mgmtPubInterval property value.

Parameters:
the - mgmtPubInterval property value.

getExpireTime

Date getExpireTime()
Returns the expireTime property value.

Returns:
the expireTime property value.

setExpireTime

void setExpireTime(Date expireTime)
Sets the expireTime property value.


setType

void setType(String type)
Returns the type property value.


getType

String getType()
Sets the type property value.

Returns:
the type property value.


Licensed to the Apache Software Foundation