com.bea.wlrt.jmx.standard
Interface StreamMBean
- public interface StreamMBean
- extends IStream
This MBean will manage instances of Streams whose configuration has been derived from
com.bea.wlrt.configuration.application.DefaultStreamConfig
schema. All the attributes
and operations of this MBean wraps around this schema type.
An example of using this MBean is given below
ObjectName streamMBeanName = ObjectName.
getInstance("com.bea.wlrt:application=jmsadapter,name=stream,type=com.bea.wlrt.configuration.application.DefaultStreamConfig");
//get the stream mbean
StreamMBean streamMBean = (StreamMBean)
MBeanServerInvocationHandler.newProxyInstance(
mbsc,
ObjectName.getInstance(streamMBeanName),
StreamMBean.class,
true);
//get the size of the Stream
int size = streamMBean.getSize();
//other operations
...
...
OBJECT_NAME
public static final String OBJECT_NAME