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>A JDBC persistence manager</description>
   <class>org.jboss.messaging.core.jmx.JDBCPersistenceManagerService</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 persistence manager</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 persistence manager</description>
      <name>TransactionManager</name>
      <type>javax.management.ObjectName</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="isUsingBatchUpdates" setMethod="setUsingBatchUpdates">
      <description>Should JDBC batch updates be used?</description>
      <name>UsingBatchUpdates</name>
      <type>boolean</type>
   </attribute>  
   
   <attribute access="read-write" getMethod="isUsingBinaryStream" setMethod="setUsingBinaryStream">
      <description>Should binary stream be used for accessing message headers / body ?</description>
      <name>UsingBinaryStream</name>
      <type>boolean</type>
   </attribute>    
   
   <attribute access="read-write" getMethod="isUsingTrailingByte" setMethod="setUsingTrailingByte">
      <description>Should a trailing byte be added to VARBINARY columns - this would be true for databases such as Sybase which would otherwise truncate trailing zeros</description>
      <name>UsingTrailingByte</name>
      <type>boolean</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="getMaxParams" setMethod="setMaxParams">
      <description>The max number of params to be used in a generated PreparedStatement</description>
      <name>MaxParams</name>
      <type>int</type>
   </attribute> 
   
   <attribute access="read-write" getMethod="isSupportsBlobOnSelect" setMethod="setSupportsBlobOnSelect">
      <description>Some databases don't support binding blobs on select clauses</description>
      <name>SupportsBlobOnSelect</name>
      <type>boolean</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