KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > mq > pm > jdbc3 > PersistenceManagerMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.mq.pm.jdbc3;
8
9 /**
10  * MBean interface.
11  */

12 public interface PersistenceManagerMBean
13       extends
14          org.jboss.system.ServiceMBean,
15          org.jboss.mq.pm.PersistenceManagerMBean,
16          org.jboss.mq.pm.CacheStoreMBean
17 {
18
19    /**
20     * Retrieve the connection manager object name
21     */

22    javax.management.ObjectName JavaDoc getConnectionManager();
23
24    /**
25     * Set the connection manager object name
26     */

27    void setConnectionManager(javax.management.ObjectName JavaDoc connectionManagerName);
28
29    /**
30     * Set the garbage collection period
31     */

32    int getGCPeriodSecs();
33
34    /**
35     * Set the garbage collection period in seconds
36     */

37    void setGCPeriodSecs(int gcPeriodSecs);
38
39    /**
40     * Gets the ConnectionRetryAttempts.
41     * @return the number of retry events */

42    int getConnectionRetryAttempts();
43
44    /**
45     * Sets the ConnectionRetryAttempts.
46     * @param value the number of retry attempts */

47    void setConnectionRetryAttempts(int value);
48
49    /**
50     * Gets the sqlProperties.
51     * @return Returns the Properties */

52    java.lang.String JavaDoc getSqlProperties();
53
54    /**
55     * Sets the sqlProperties.
56     * @param sqlProperties The sqlProperties to set */

57    void setSqlProperties(java.lang.String JavaDoc value);
58
59 }
60
Popular Tags