org.jboss.mq.pm.jdbc3
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.


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()
          Retrieve the connection manager object name
 int getConnectionRetryAttempts()
          Gets the ConnectionRetryAttempts.
 int getGCPeriodSecs()
          Set the garbage collection period
 String getSqlProperties()
          Gets the sqlProperties.
 void setConnectionManager(javax.management.ObjectName connectionManagerName)
          Set the connection manager object name
 void setConnectionRetryAttempts(int value)
          Sets the ConnectionRetryAttempts.
 void setGCPeriodSecs(int gcPeriodSecs)
          Set the garbage collection period in seconds
 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
getInstance, getMessageCache, setMessageCache
 
Methods inherited from interface org.jboss.mq.pm.CacheStoreMBean
getInstance
 

Method Detail

getConnectionManager

javax.management.ObjectName getConnectionManager()
Retrieve the connection manager object name


setConnectionManager

void setConnectionManager(javax.management.ObjectName connectionManagerName)
Set the connection manager object name


getGCPeriodSecs

int getGCPeriodSecs()
Set the garbage collection period


setGCPeriodSecs

void setGCPeriodSecs(int gcPeriodSecs)
Set the garbage collection period in seconds


getConnectionRetryAttempts

int getConnectionRetryAttempts()
Gets the ConnectionRetryAttempts.

Returns:
the number of retry events

setConnectionRetryAttempts

void setConnectionRetryAttempts(int value)
Sets the ConnectionRetryAttempts.

Parameters:
value - the number of retry attempts

getSqlProperties

String getSqlProperties()
Gets the sqlProperties.

Returns:
Returns the Properties

setSqlProperties

void setSqlProperties(String value)
Sets the sqlProperties.

Parameters:
sqlProperties - The sqlProperties to set


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