MessageBrokerConfigurationMBean Interface

com.bea.wli.management.configuration
MessageBrokerConfigurationMBean Interface

public interface MessageBrokerConfigurationMBean

    extends ConfigurationMBean

All Superinterfaces
ConfigurationMBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, WebLogicMBean

Field Summary

public static final long
CACHING_STUB_SVUID
The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub).
   
Fields from interface weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY
 

Method Summary

public void
deployChannelPublishPolicy(String channel, Set roles)
Registers a new publish policy on a channel.
public void
deployChannelSubscriptionPolicy(String channel, Set roles)
Registers a new subscription policy on a channel.
public String
getChannelDispatchAsPrincipal(String channel)
Returns the dispatch-as principal for the channel.
public Set
getChannelPublishPolicy(String channel)
Returns the channel's publish policy.
public Set
getChannelSubscribePolicy(String channel)
Returns the channel's subscribe policy.
public void
setChannelDispatchAsPrincipal(String channel, String principal)
Sets the channel's dispatch-as principal.
 
Methods from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean
 
Methods from interface javax.management.DynamicMBean
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes
 
Methods from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
   

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.

 

Method Detail

deployChannelPublishPolicy(String, Set) Method

public void deployChannelPublishPolicy(String channel, 
                                       Set roles)
throws SecurityException
Registers a new publish policy on a channel.

Exceptions

SecurityException

deployChannelSubscriptionPolicy(String, Set) Method

public void deployChannelSubscriptionPolicy(String channel, 
                                            Set roles)
throws SecurityException
Registers a new subscription policy on a channel.

Exceptions

SecurityException

getChannelDispatchAsPrincipal(String) Method

public String getChannelDispatchAsPrincipal(String channel)
Returns the dispatch-as principal for the channel. If no dispatch-as has been explicitly specified, null is returned.

Returns

the dispatch-as principal.

getChannelPublishPolicy(String) Method

public Set getChannelPublishPolicy(String channel)
Returns the channel's publish policy.

Returns

an array of those global roles allowed to publish to the channel.

getChannelSubscribePolicy(String) Method

public Set getChannelSubscribePolicy(String channel)
Returns the channel's subscribe policy.

Returns

an array of those global roles allowed to subscribe to the channel.

setChannelDispatchAsPrincipal(String, String) Method

public void setChannelDispatchAsPrincipal(String channel, 
                                          String principal)
Sets the channel's dispatch-as principal.