com.bea.wli.management.runtime
Interface JmsEventGenRuntimeMBean

All Superinterfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, weblogic.management.runtime.RuntimeMBean, weblogic.management.WebLogicMBean

public interface JmsEventGenRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

This class provides runtime management for a Jms Event Generator


Field Summary
static long CACHING_STUB_SVUID
          The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub).
static String TYPE
           
 
Method Summary
 String getDestJndiName()
          Return the JNDI name of the Destination.
 String getDestType()
          Return the Destination Type.
 long getErrorCount()
          Return the number of error that have been encountered by the event generator.
 long getErrorResetTime()
          Return the time that the error counter was last reset.
 String getEventGeneratorName()
          Return the name of the event generator
 long getMessageCount()
          Get the number of messages that have been processed by the event generator
 String getMessageSelector()
          Return the message selector string.
 long getResetTime()
          Return the time that message counter was last reset.
 void resetErrorCount()
          Reset the error message count of the event generator.
 void resetMessageCount()
          Reset the message count of the event generator
 
Methods inherited from interface weblogic.management.runtime.RuntimeMBean
preDeregister
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub). You must change this value whenever you make one of the changes to this interface:

- remove an existing method.
- change the signature of an existing "getter" or "setter" method.
- change the signature of an existing "boolean getter", i.e, "boolean isEnabled()"

Otherwise you don't need to change this value. For instance you can add new methods, or you can change the signature of methods that don't start with "get", "set" or "is". If you are in doubt then change the SVUID. It is a good idea to increment this value when changing.

See Also:
Constant Field Values

TYPE

public static final String TYPE
See Also:
Constant Field Values
Method Detail

getEventGeneratorName

public String getEventGeneratorName()
Return the name of the event generator

Returns:
name of the event generator

getMessageCount

public long getMessageCount()
Get the number of messages that have been processed by the event generator

Returns:
the number of messages that have been processed by the event generator

getResetTime

public long getResetTime()
Return the time that message counter was last reset.

Returns:
the message counter timestamp.

resetMessageCount

public void resetMessageCount()
Reset the message count of the event generator


getErrorCount

public long getErrorCount()
Return the number of error that have been encountered by the event generator.

Returns:
the number of errors that have been encountered by the event generator.

getErrorResetTime

public long getErrorResetTime()
Return the time that the error counter was last reset.

Returns:
the error counter reset timestamp.

resetErrorCount

public void resetErrorCount()
Reset the error message count of the event generator.


getDestType

public String getDestType()
Return the Destination Type.

Returns:
the destination type.

getDestJndiName

public String getDestJndiName()
Return the JNDI name of the Destination.

Returns:
the destination JNDI name.

getMessageSelector

public String getMessageSelector()
Return the message selector string.

Returns:
the message selector string.