Skip navigation links
com.bea.wlevs.management.configuration
Interface StreamMBean
- public interface StreamMBean
- extends StageMBean, EventQueueMBean
This MBean will manage instances of Streams whose configuration has been derived from com.bea.wlevs.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.wlevs:Name=mystream,Type=Stream,Application=myapplication");
//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
...
...
Methods inherited from interface com.bea.wlevs.management.configuration.StageMBean |
configurePlayback, configurePlaybackWithDuration, configureRecord, configureRecordWithDuration, getPlaybackConfiguration, getRecordConfiguration, getRecordPlayback, isPlayingBack, isRecording, startPlayback, startRecording, stopPlayback, stopRecording |
Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
MBEAN_TYPE
public static final java.lang.String MBEAN_TYPE