org.jboss.mq.pm.jdbc2
Interface PersistenceManagerMBean

All Superinterfaces:
CacheStoreMBean, PersistenceManagerMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

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

MBean interface.

Version:
$Revision: 1.3.6.7 $
Author:
Jayesh Parayali (jayeshpk1@yahoo.com), Hiram Chirino (cojonudo14@hotmail.com), Adrian Brock (adrian@jboss.com)

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 getRecoverMessagesChunk()
          Returns the recover messages chunk
 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 setRecoverMessagesChunk(int recoverMessagesChunk)
          Set the recover messages chunk
 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

Object getInstance()
Get the instance of the persistence manager

Specified by:
getInstance in interface CacheStoreMBean
Specified by:
getInstance in interface PersistenceManagerMBean
Returns:
the instance

getConnectionManager

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

Returns:
the object name of the DataSource

setConnectionManager

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

Parameters:
connectionManagerName - the object name of the DataSource

getSqlProperties

String getSqlProperties()
Gets the sqlProperties.

Returns:
Returns a Properties

setSqlProperties

void setSqlProperties(String value)
Sets the sqlProperties.

Parameters:
sqlProperties - The sqlProperties to set

setConnectionRetryAttempts

void setConnectionRetryAttempts(int value)
Sets the ConnectionRetryAttempts.

Parameters:
connectionRetryAttempts - value

getConnectionRetryAttempts

int getConnectionRetryAttempts()
Gets the ConnectionRetryAttempts.

Returns:
Returns a ConnectionRetryAttempt value

getRecoveryTimeout

int getRecoveryTimeout()
Any override recovery transaction timeout

Returns:
the override transaction timeout

setRecoveryTimeout

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

Parameters:
timeout - the timeout

getRecoveryRetries

int getRecoveryRetries()
Returns the recovery retries

Returns:
the retries

setRecoveryRetries

void setRecoveryRetries(int retries)
Set the recovery retries

Parameters:
retries - the number of retries

getRecoverMessagesChunk

int getRecoverMessagesChunk()
Returns the recover messages chunk

Returns:
the chunk size

setRecoverMessagesChunk

void setRecoverMessagesChunk(int recoverMessagesChunk)
Set the recover messages chunk

Parameters:
recoverMessagesChunk - the chunk size


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