KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > resource > connectionmanager > TxConnectionManagerMBean


1 /*
2 * JBoss, Home of Professional Open Source
3 * Copyright 2005, JBoss Inc., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
5 * full listing of individual contributors.
6 *
7 * This is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */

22 package org.jboss.resource.connectionmanager;
23
24 import javax.management.ObjectName JavaDoc;
25
26 import org.jboss.mx.util.ObjectNameFactory;
27
28 /**
29  * MBean interface.
30  *
31  * @author <a HREF="mailto:adrian@jboss.com">Adrian Brock</a>
32  * @version $Revision: 57120 $
33  */

34 public interface TxConnectionManagerMBean extends BaseConnectionManager2MBean
35 {
36    public static final ObjectName JavaDoc OBJECT_NAME = ObjectNameFactory.create("jboss.jca:service=BaseConnectionManager");
37
38    /**
39     * mbean get-set pair for field transactionManagerService Get the value of transactionManagerService
40     *
41     * @return value of transactionManagerService
42     */

43    ObjectName JavaDoc getTransactionManagerService();
44
45    /**
46     * Set the value of transactionManagerService
47     *
48     * @param transactionManagerService Value to assign to transactionManagerService
49     */

50    void setTransactionManagerService(ObjectName JavaDoc transactionManagerService);
51
52    /**
53     * The TransactionManager attribute contains the jndi name of the TransactionManager. This is normally java:/TransactionManager.
54     *
55     * @param tmName an <code>String</code> value
56     * @deprecated use the ObjectName TransactionManagerService instead
57     */

58    void setTransactionManager(String JavaDoc tmName);
59
60    /**
61     * Describe <code>getTransactionManager</code> method here.
62     *
63     * @return an <code>String</code> value
64     * @deprecated use the ObjectName TransactionManagerService instead
65     */

66    String JavaDoc getTransactionManager();
67
68    /**
69     * mbean get-set pair for field trackConnectionByTx Get the value of trackConnectionByTx
70     *
71     * @return value of trackConnectionByTx
72     */

73    boolean isTrackConnectionByTx();
74
75    /**
76     * Set the value of trackConnectionByTx
77     *
78     * @param trackConnectionByTx Value to assign to trackConnectionByTx
79     */

80    void setTrackConnectionByTx(boolean trackConnectionByTx);
81
82    /**
83     * mbean get-set pair for field localTransactions Get the value of localTransactions
84     *
85     * @return value of localTransactions
86     */

87    boolean isLocalTransactions();
88
89    /**
90     * Set the value of localTransactions
91     *
92     * @param localTransactions Value to assign to localTransactions
93     */

94    void setLocalTransactions(boolean localTransactions);
95
96    /**
97     * FIXME Comment this
98     *
99     * @return
100     */

101    int getXAResourceTransactionTimeout();
102    
103    /**
104     * FIXME Comment this
105     *
106     * @param timeout
107     */

108    void setXAResourceTransactionTimeout(int timeout);
109
110    Boolean JavaDoc getIsSameRMOverrideValue();
111    
112    void setIsSameRMOverrideValue(Boolean JavaDoc value);
113    
114    public boolean getWrapXAResource();
115    
116    public void setWrapXAResource(boolean useXAWrapper);
117    
118    public void setPadXid(boolean padXid);
119    
120    public boolean getPadXid();
121    
122
123 }
124
Popular Tags