Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE mbean PUBLIC
      "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
      "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">

<mbean>
   <description>An messaging post-office</description>
   <class>org.jboss.messaging.core.jmx.MessagingPostOfficeService</class>

   <!-- Managed constructors -->

   <!-- Managed attributes -->

   <attribute access="read-only" getMethod="getInstance">
      <description>The instance to plug into the server peer</description>
      <name>Instance</name>
      <type>org.jboss.messaging.core.contract.MessagingComponent</type>
   </attribute>

   <attribute access="read-write" getMethod="getDataSource" setMethod="setDataSource">
      <description>The JNDI name of the DataSource used by this ChannelMapper instance</description>
      <name>DataSource</name>
      <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getTransactionManager" setMethod="setTransactionManager">
      <description>The ObjectName of the TransactionManager used by this ChannelMaper instance</description>
      <name>TransactionManager</name>
      <type>javax.management.ObjectName</type>
   </attribute>
   
   <attribute access="read-write" getMethod="getSqlProperties" setMethod="setSqlProperties">
      <description>DML and DDL overrides</description>
      <name>SqlProperties</name>
      <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="isCreateTablesOnStartup" setMethod="setCreateTablesOnStartup">
      <description>Should database tables be created on startup?</description>
      <name>CreateTablesOnStartup</name>
      <type>boolean</type>
   </attribute>
   
   <attribute access="read-write" getMethod="getPostOfficeName" setMethod="setPostOfficeName">
      <description>The name of the post office</description>
      <name>PostOfficeName</name>
      <type>java.lang.String</type>
   </attribute> 
   
   <attribute access="read-write" getMethod="getServerPeer" setMethod="setServerPeer">
      <description>The ObjectName of the server peer this destination was deployed on</description>
      <name>ServerPeer</name>
      <type>javax.management.ObjectName</type>
   </attribute> 
   
   <attribute access="read-write" getMethod="getGroupName" setMethod="setGroupName">
      <description>The name of the JGroups group to use</description>
      <name>GroupName</name>
      <type>java.lang.String</type>
   </attribute>   
           
   <attribute access="read-write" getMethod="getStateTimeout" setMethod="setStateTimeout">
      <description>Timeout for getState()</description>
      <name>StateTimeout</name>
      <type>long</type>
   </attribute>
   
   <attribute access="read-write" getMethod="getCastTimeout" setMethod="setCastTimeout">
      <description>Timeout for getState()</description>
      <name>CastTimeout</name>
      <type>long</type>
   </attribute> 
   
   <attribute access="read-write" getMethod="isClustered" setMethod="setClustered">
      <description>Is this post office clustered?</description>
      <name>Clustered</name>
      <type>boolean</type>
   </attribute>   
      
   <attribute access="read-write" getMethod="getControlChannelConfig" setMethod="setControlChannelConfig">
      <description>The JGroups stack configuration for the control channel</description>
      <name>ControlChannelConfig</name>
      <type>org.w3c.dom.Element</type>
   </attribute>
   
   <attribute access="read-write" getMethod="getDataChannelConfig" setMethod="setDataChannelConfig">
      <description>The JGroups stack configuration for the data channel</description>
      <name>DataChannelConfig</name>
      <type>org.w3c.dom.Element</type>
   </attribute>   
   
   <attribute access="read-write" getMethod="getServerPeer" setMethod="setServerPeer">
      <description>The ObjectName of the server peer this destination was deployed on</description>
      <name>ServerPeer</name>
      <type>javax.management.ObjectName</type>
   </attribute>

   <attribute access="read-write" getMethod="getChannelFactoryName" setMethod="setChannelFactoryName">
      <description>The ObjectName of the JGroups Multiplexer used to create JChannels</description>
      <name>ChannelFactoryName</name>
      <type>javax.management.ObjectName</type>
   </attribute>

   <attribute access="read-write" getMethod="getControlChannelName" setMethod="setControlChannelName">
      <description>The name of the stack used on multiplexer for Control Channels</description>
      <name>ControlChannelName</name>
      <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getDataChannelName" setMethod="setDataChannelName">
      <description>The name of the stack used on multiplexer for Data Channels</description>
      <name>DataChannelName</name>
      <type>java.lang.String</type>
   </attribute>

   <attribute access="read-write" getMethod="getChannelPartitionName" setMethod="setChannelPartitionName">
      <description>The partition name used to identify JMS/Postoffice on the JGroups Multiplexor</description>
      <name>ChannelPartitionName</name>
      <type>java.lang.String</type>
   </attribute>
   
   <attribute access="read-write" getMethod="getMaxConcurrentReplications" setMethod="setMaxConcurrentReplications">
      <description>The maximum number of concurrent replications</description>
      <name>MaxConcurrentReplications</name>
      <type>int</type>
   </attribute>
   
   <attribute access="read-only" getMethod="getNodeIDView">
      <description>Get the set of nodes in the cluster</description>
      <name>NodeIDView</name>
      <type>java.util.Set</type>
   </attribute>

   <!-- Managed operations -->

   <operation>
      <description>JBoss Service lifecycle operation</description>
      <name>create</name>
   </operation>

   <operation>
      <description>JBoss Service lifecycle operation</description>
      <name>start</name>
   </operation>

   <operation>
      <description>JBoss Service lifecycle operation</description>
      <name>stop</name>
   </operation>

   <operation>
      <description>JBoss Service lifecycle operation</description>
      <name>destroy</name>
   </operation>
     
</mbean>
New to GrepCode? Check out our FAQ X