Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
           ...
           ...

Field Summary
`static String` | `OBJECT_NAME`

Methods inherited from interface com.bea.wlrt.jmx.standard.IStream
`getSize, setSize`

Field Detail

### OBJECT_NAME

    public static final String OBJECT_NAME

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD