org.jboss.mq.pm.jdbc2
Interface PersistenceManagerMBean

All Superinterfaces:
CacheStoreMBean, PersistenceManagerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
PersistenceManager

public interface PersistenceManagerMBean
extends org.jboss.system.ServiceMBean, PersistenceManagerMBean, CacheStoreMBean

MBean interface.


Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Fields inherited from interface org.jboss.mq.pm.PersistenceManagerMBean
OBJECT_NAME
 
Method Summary
 javax.management.ObjectName getConnectionManager()
          Get the object name of the DataSource
 int getConnectionRetryAttempts()
          Gets the ConnectionRetryAttempts.
 Object getInstance()
          Get the instance of the persistence manager
 int getRecoveryRetries()
          Returns the recovery retries
 int getRecoveryTimeout()
          Any override recovery transaction timeout
 String getSqlProperties()
          Gets the sqlProperties.
 void setConnectionManager(javax.management.ObjectName connectionManagerName)
          Set the object name of the DataSource
 void setConnectionRetryAttempts(int value)
          Sets the ConnectionRetryAttempts.
 void setRecoveryRetries(int retries)
          Set the recovery retries
 void setRecoveryTimeout(int timeout)
          Set the override recovery transaction timeout
 void setSqlProperties(String value)
          Sets the sqlProperties.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 
Methods inherited from interface org.jboss.mq.pm.PersistenceManagerMBean
getMessageCache, setMessageCache
 

Method Detail

getInstance

public Object getInstance()
Get the instance of the persistence manager

Specified by:
getInstance in interface PersistenceManagerMBean
Returns:
the instance

getConnectionManager

public javax.management.ObjectName getConnectionManager()
Get the object name of the DataSource

Returns:
the object name of the DataSource

setConnectionManager

public void setConnectionManager(javax.management.ObjectName connectionManagerName)
Set the object name of the DataSource

Parameters:
connectionManagerName - the object name of the DataSource

getSqlProperties

public String getSqlProperties()
Gets the sqlProperties.

Returns:
Returns a Properties

setSqlProperties

public void setSqlProperties(String value)
Sets the sqlProperties.


setConnectionRetryAttempts

public void setConnectionRetryAttempts(int value)
Sets the ConnectionRetryAttempts.


getConnectionRetryAttempts

public int getConnectionRetryAttempts()
Gets the ConnectionRetryAttempts.

Returns:
Returns a ConnectionRetryAttempt value

getRecoveryTimeout

public int getRecoveryTimeout()
Any override recovery transaction timeout

Returns:
the override transaction timeout

setRecoveryTimeout

public void setRecoveryTimeout(int timeout)
Set the override recovery transaction timeout

Parameters:
timeout - the timeout

getRecoveryRetries

public int getRecoveryRetries()
Returns the recovery retries


setRecoveryRetries

public void setRecoveryRetries(int retries)
Set the recovery retries



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.