com.bea.wli.management.configuration
Interface GenericEventGenConfigurationMBean

All Superinterfaces:
weblogic.management.configuration.ConfigurationMBean, weblogic.descriptor.DescriptorBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean

public interface GenericEventGenConfigurationMBean
extends weblogic.management.configuration.ConfigurationMBean

Manages channel rules for a Generic 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
           
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 void addProperties(Map<String,Serializable> props)
          Use this method to set any EG specific properties.
 void createEG()
          Create & deploy the EG using the configuration already set.
 GenericEventGenChannelConfiguration[] getChannels()
          Get all the channels for this event generator
 String getEventGenConfigTypeName()
           
 String getEventGeneratorName()
          Get the name of the event generator
 String getSourceConnFactoryJndiName()
           
 void removeEG()
          Remove the EG, undeploys the application & delete all configuration from config files.
 void resumeEG()
          Resume the suspended EG.
 void setChannels(GenericEventGenChannelConfiguration[] channelsData)
          Set all the channels for this event generator
 void suspendEG()
          Suspend a running EG, its a no-op for already suspended EGs.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getComments, getName, getNotes, isDefaultedMBean, isPersistenceEnabled, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, touch, unSet
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
 

Field Detail

TYPE

static final String TYPE
See Also:
Constant Field Values

CACHING_STUB_SVUID

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
Method Detail

getEventGeneratorName

String getEventGeneratorName()
Get the name of the event generator

Returns:
name of the event generator

setChannels

void setChannels(GenericEventGenChannelConfiguration[] channelsData)
                 throws javax.management.MBeanException
Set all the channels for this event generator

Parameters:
channelsData - Channels to add
Throws:
javax.management.MBeanException

getChannels

GenericEventGenChannelConfiguration[] getChannels()
Get all the channels for this event generator

Returns:
the Channels for this event generator

getEventGenConfigTypeName

String getEventGenConfigTypeName()

getSourceConnFactoryJndiName

String getSourceConnFactoryJndiName()
Returns:
configured QueueConnectionFactory JNDI name

addProperties

void addProperties(Map<String,Serializable> props)
                   throws javax.management.MBeanException
Use this method to set any EG specific properties. These properties apply to the given instance of the EG.

Parameters:
props - a Map of property name Vs a serializable property value.
Throws:
javax.management.MBeanException

createEG

void createEG()
              throws javax.management.MBeanException
Create & deploy the EG using the configuration already set.

Throws:
javax.management.MBeanException

suspendEG

void suspendEG()
               throws javax.management.MBeanException
Suspend a running EG, its a no-op for already suspended EGs.

Throws:
javax.management.MBeanException

resumeEG

void resumeEG()
              throws javax.management.MBeanException
Resume the suspended EG. Its a no-op is the EG is already running.

Throws:
javax.management.MBeanException

removeEG

void removeEG()
              throws javax.management.MBeanException
Remove the EG, undeploys the application & delete all configuration from config files.

Throws:
javax.management.MBeanException