org.jboss.messaging.core.plugin
Class JDBCPersistenceManagerService

java.lang.Object
  extended byServiceMBeanSupport
      extended byorg.jboss.messaging.core.plugin.JDBCServiceSupport
          extended byorg.jboss.messaging.core.plugin.JDBCPersistenceManagerService
All Implemented Interfaces:
ServerPlugin

public class JDBCPersistenceManagerService
extends JDBCServiceSupport

A JDBCPersistenceManagerService MBean wrapper around a JDBCPersistenceManager

Version:
$Revision: 2684 $ $Id: JDBCPersistenceManagerService.java 2684 2007-05-15 07:31:30Z timfox $
Author:
Tim Fox
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.messaging.core.plugin.JDBCServiceSupport
createTablesOnStartup, ds, sqlProperties
 
Constructor Summary
JDBCPersistenceManagerService()
           
 
Method Summary
 MessagingComponent getInstance()
          A server plugin will be always accessed via a hard reference, so it is essential that each implementation exposes this method.
 int getMaxParams()
           
 boolean isUsingBatchUpdates()
           
 boolean isUsingBinaryStream()
           
 boolean isUsingTrailingByte()
           
 void setMaxParams(int maxParams)
           
 void setUsingBatchUpdates(boolean b)
           
 void setUsingBinaryStream(boolean b)
           
 void setUsingTrailingByte(boolean b)
           
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jboss.messaging.core.plugin.JDBCServiceSupport
getDataSource, getSqlProperties, getTransactionManager, getTransactionManagerReference, isCreateTablesOnStartup, setCreateTablesOnStartup, setDataSource, setSqlProperties, setTransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCPersistenceManagerService

public JDBCPersistenceManagerService()
Method Detail

getInstance

public MessagingComponent getInstance()
Description copied from interface: ServerPlugin
A server plugin will be always accessed via a hard reference, so it is essential that each implementation exposes this method.


startService

protected void startService()
                     throws java.lang.Exception
Overrides:
startService in class JDBCServiceSupport
Throws:
java.lang.Exception

stopService

protected void stopService()
                    throws java.lang.Exception
Overrides:
stopService in class JDBCServiceSupport
Throws:
java.lang.Exception

isUsingBatchUpdates

public boolean isUsingBatchUpdates()

setUsingBatchUpdates

public void setUsingBatchUpdates(boolean b)

getMaxParams

public int getMaxParams()

setMaxParams

public void setMaxParams(int maxParams)

isUsingBinaryStream

public boolean isUsingBinaryStream()

setUsingBinaryStream

public void setUsingBinaryStream(boolean b)

isUsingTrailingByte

public boolean isUsingTrailingByte()

setUsingTrailingByte

public void setUsingTrailingByte(boolean b)


Copyright © 2006 JBoss Inc. All Rights Reserved.