[jboss-svn-commits] JBL Code SVN: r28855 - in labs/jbosstm/trunk: ArjunaCore/txoj/classes/com/arjuna/ats/txoj/common and 4 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Aug 6 09:00:00 EDT 2009
Author: jhalliday
Date: 2009-08-06 09:00:00 -0400 (Thu, 06 Aug 2009)
New Revision: 28855
Added:
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBeanMBean.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoreEnvironmentBeanMBean.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBeanMBean.java
labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/RecoveryEnvironmentBeanMBean.java
labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/common/TxojEnvironmentBeanMBean.java
labs/jbosstm/trunk/ArjunaJTA/jdbc/classes/com/arjuna/ats/jdbc/common/JDBCEnvironmentBeanMBean.java
labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/common/JTAEnvironmentBeanMBean.java
labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/jts/common/JTSEnvironmentBeanMBean.java
labs/jbosstm/trunk/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/common/OrbPortabilityEnvironmentBeanMBean.java
Log:
Add MBean interfaces for the new EnvironmentBeans. JBTM-596
Added: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoordinatorEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.ats.arjuna.common;
+
+/**
+ * A JMX MBean interface containing configuration for the core transaction coordinator.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface CoordinatorEnvironmentBeanMBean
+{
+ String getActionStore();
+
+ void setActionStore(String actionStore);
+
+ boolean isAsyncCommit();
+
+ void setAsyncCommit(boolean asyncCommit);
+
+ boolean isAsyncPrepare();
+
+ void setAsyncPrepare(boolean asyncPrepare);
+
+ boolean isAsyncRollback();
+
+ void setAsyncRollback(boolean asyncRollback);
+
+ boolean isCommitOnePhase();
+
+ void setCommitOnePhase(boolean commitOnePhase);
+
+ boolean isMaintainHeuristics();
+
+ void setMaintainHeuristics(boolean maintainHeuristics);
+
+ boolean isTransactionLog();
+
+ void setTransactionLog(boolean transactionLog);
+
+ boolean isWriteOptimisation();
+
+ void setWriteOptimisation(boolean writeOptimisation);
+
+ boolean isReadonlyOptimisation();
+
+ void setReadonlyOptimisation(boolean readonlyOptimisation);
+
+ boolean isClassicPrepare();
+
+ void setClassicPrepare(boolean classicPrepare);
+
+ boolean isEnableStatistics();
+
+ void setEnableStatistics(boolean enableStatistics);
+
+ boolean isSharedTransactionLog();
+
+ void setSharedTransactionLog(boolean sharedTransactionLog);
+
+ boolean isStartDisabled();
+
+ void setStartDisabled(boolean startDisabled);
+
+ String getTxReaperMode();
+
+ void setTxReaperMode(String txReaperMode);
+
+ long getTxReaperTimeout();
+
+ void setTxReaperTimeout(long txReaperTimeout);
+
+ long getTxReaperCancelWaitPeriod();
+
+ void setTxReaperCancelWaitPeriod(long txReaperCancelWaitPeriod);
+
+ long getTxReaperCancelFailWaitPeriod();
+
+ void setTxReaperCancelFailWaitPeriod(long txReaperCancelFailWaitPeriod);
+
+ int getTxReaperZombieMax();
+
+ void setTxReaperZombieMax(int txReaperZombieMax);
+
+ int getDefaultTimeout();
+
+ void setDefaultTimeout(int defaultTimeout);
+
+ boolean isTransactionStatusManagerEnable();
+
+ void setTransactionStatusManagerEnable(boolean transactionStatusManagerEnable);
+
+ boolean isBeforeCompletionWhenRollbackOnly();
+
+ void setBeforeCompletionWhenRollbackOnly(boolean beforeCompletionWhenRollbackOnly);
+
+ String getCheckedActionFactory();
+
+ void setCheckedActionFactory(String checkedActionFactory);
+}
Added: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoreEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoreEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/CoreEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.ats.arjuna.common;
+
+/**
+ * A JMX MBean interface containing assorted configuration for the core transaction system.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface CoreEnvironmentBeanMBean
+{
+ String getPropertiesFile();
+
+ void setPropertiesFile(String propertiesFile);
+
+ String getVarDir();
+
+ void setVarDir(String varDir);
+
+ String getNodeIdentifier();
+
+ void setNodeIdentifier(String nodeIdentifier);
+
+ int getSocketProcessIdPort();
+
+ void setSocketProcessIdPort(int socketProcessIdPort);
+
+ int getSocketProcessIdMaxPorts();
+
+ void setSocketProcessIdMaxPorts(int socketProcessIdMaxPorts);
+
+ String getProcessImplementation();
+
+ void setProcessImplementation(String processImplementation);
+
+ int getPid();
+
+ void setPid(int pid);
+
+ boolean isAllowMultipleLastResources();
+
+ void setAllowMultipleLastResources(boolean allowMultipleLastResources);
+
+ boolean isDisableMultipleLastResourcesWarning();
+
+ void setDisableMultipleLastResourcesWarning(boolean disableMultipleLastResourcesWarning);
+}
Added: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/ObjectStoreEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.ats.arjuna.common;
+
+/**
+ * A JMX MBean interface containing configuration for the objectstore and various implementations thereof.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface ObjectStoreEnvironmentBeanMBean
+{
+ int getCacheStoreSize();
+
+ void setCacheStoreSize(int cacheStoreSize);
+
+ boolean isCacheStoreSync();
+
+ void setCacheStoreSync(boolean cacheStoreSync);
+
+ int getCacheStoreRemovedItems();
+
+ void setCacheStoreRemovedItems(int cacheStoreRemovedItems);
+
+ int getCacheStoreScanPeriod();
+
+ void setCacheStoreScanPeriod(int cacheStoreScanPeriod);
+
+ int getCacheStoreWorkItems();
+
+ void setCacheStoreWorkItems(int cacheStoreWorkItems);
+
+ int getCacheStoreHash();
+
+ void setCacheStoreHash(int cacheStoreHash);
+
+ String getLocalOSRoot();
+
+ void setLocalOSRoot(String localOSRoot);
+
+ String getObjectStoreDir();
+
+ void setObjectStoreDir(String objectStoreDir);
+
+ boolean isObjectStoreSync();
+
+ void setObjectStoreSync(boolean objectStoreSync);
+
+ String getObjectStoreType();
+
+ void setObjectStoreType(String objectStoreType);
+
+ int getHashedDirectories();
+
+ void setHashedDirectories(int hashedDirectories);
+
+ boolean isTransactionSync();
+
+ void setTransactionSync(boolean transactionSync);
+
+ String getJdbcUserDbAccess();
+
+ void setJdbcUserDbAccess(String jdbcUserDbAccess);
+
+ String getJdbcTxDbAccess();
+
+ void setJdbcTxDbAccess(String jdbcTxDbAccess);
+
+ int getJdbcPoolSizeInitial();
+
+ void setJdbcPoolSizeInitial(int jdbcPoolSizeInitial);
+
+ int getJdbcPoolSizeMaximum();
+
+ void setJdbcPoolSizeMaximum(int jdbcPoolSizeMaximum);
+
+ boolean isJdbcPoolPutConnections();
+
+ void setJdbcPoolPutConnections(boolean jdbcPoolPutConnections);
+
+ int getShare();
+
+ void setShare(int share);
+
+ int getHierarchyRetry();
+
+ void setHierarchyRetry(int hierarchyRetry);
+
+ int getHierarchyTimeout();
+
+ void setHierarchyTimeout(int hierarchyTimeout);
+
+ boolean isSynchronousRemoval();
+
+ void setSynchronousRemoval(boolean synchronousRemoval);
+
+ long getTxLogSize();
+
+ void setTxLogSize(long txLogSize);
+
+ long getPurgeTime();
+
+ void setPurgeTime(long purgeTime);
+}
Added: labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/RecoveryEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/RecoveryEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/classes/com/arjuna/ats/arjuna/common/RecoveryEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.ats.arjuna.common;
+
+import java.net.InetAddress;
+
+/**
+ * A JMX MBean interface containing configuration for the recovery system.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface RecoveryEnvironmentBeanMBean
+{
+ int getPeriodicRecoveryPeriod();
+
+ void setPeriodicRecoveryPeriod(int periodicRecoveryPeriod);
+
+ int getRecoveryBackoffPeriod();
+
+ void setRecoveryBackoffPeriod(int recoveryBackoffPeriod);
+
+ boolean isRecoveryListener();
+
+ void setRecoveryListener(boolean recoveryListener);
+
+ int getRecoveryPort();
+
+ void setRecoveryPort(int recoveryPort);
+
+ String getRecoveryAddress();
+
+ void setRecoveryAddress(String recoveryAddress);
+
+ void setRecoveryInetAddress(InetAddress inetAddress);
+
+ int getTransactionStatusManagerPort();
+
+ void setTransactionStatusManagerPort(int transactionStatusManagerPort);
+
+ String getTransactionStatusManagerAddress();
+
+ void setTransactionStatusManagerAddress(String transactionStatusManagerAddress);
+
+ void setTransactionStatusManagerInetAddress(InetAddress inetAddress);
+
+ int getExpiryScanInterval();
+
+ void setExpiryScanInterval(int expiryScanInterval);
+
+ int getTransactionStatusManagerExpiryTime();
+
+ void setTransactionStatusManagerExpiryTime(int transactionStatusManagerExpiryTime);
+
+ boolean isTimeoutSocket();
+
+ void setTimeoutSocket(boolean timeoutSocket);
+}
Added: labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/common/TxojEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/common/TxojEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaCore/txoj/classes/com/arjuna/ats/txoj/common/TxojEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.ats.txoj.common;
+
+/**
+ * A JMX MBean interface containing configuration for the transactional object system.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface TxojEnvironmentBeanMBean
+{
+ String getPropertiesFile();
+
+ void setPropertiesFile(String propertiesFile);
+
+ String getLockStoreDir();
+
+ void setLockStoreDir(String lockStoreDir);
+
+ String getLockStoreType();
+
+ void setLockStoreType(String lockStoreType);
+
+ String getMultipleLockStore();
+
+ void setMultipleLockStore(String multipleLockStore);
+
+ String getSingleLockStore();
+
+ void setSingleLockStore(String singleLockStore);
+
+ boolean isAllowNestedLocking();
+
+ void setAllowNestedLocking(boolean allowNestedLocking);
+}
Added: labs/jbosstm/trunk/ArjunaJTA/jdbc/classes/com/arjuna/ats/jdbc/common/JDBCEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jdbc/classes/com/arjuna/ats/jdbc/common/JDBCEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTA/jdbc/classes/com/arjuna/ats/jdbc/common/JDBCEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.ats.jdbc.common;
+
+/**
+ * A JMX MBean interface containing configuration for the JDBC subsystem.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface JDBCEnvironmentBeanMBean
+{
+ String getPropertiesFile();
+
+ void setPropertiesFile(String propertiesFile);
+
+ int getIsolationLevel();
+
+ void setIsolationLevel(int isolationLevel);
+}
Added: labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/common/JTAEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/common/JTAEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTA/jta/classes/com/arjuna/ats/jta/common/JTAEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.ats.jta.common;
+
+/**
+ * A JMX MBean interface containing configuration for the JTA system.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface JTAEnvironmentBeanMBean
+{
+ String getPropertiesFile();
+
+ void setPropertiesFile(String propertiesFile);
+
+ boolean isSupportSubtransactions();
+
+ void setSupportSubtransactions(boolean supportSubtransactions);
+
+ String getJtaTMImplementation();
+
+ void setJtaTMImplementation(String jtaTMImplementation);
+
+ String getJtaUTImplementation();
+
+ void setJtaUTImplementation(String jtaUTImplementation);
+
+ String getJtaTSRImplementation();
+
+ void setJtaTSRImplementation(String jtaTSRImplementation);
+
+ int getXaBackoffPeriod();
+
+ void setXaBackoffPeriod(int xaBackoffPeriod);
+
+ String getXaRecoveryNode();
+
+ void setXaRecoveryNode(String xaRecoveryNode);
+
+ boolean isXaRollbackOptimization();
+
+ void setXaRollbackOptimization(boolean xaRollbackOptimization);
+
+ boolean isXaAssumeRecoveryComplete();
+
+ void setXaAssumeRecoveryComplete(boolean xaAssumeRecoveryComplete);
+
+ String getJtaUTJNDIContext();
+
+ void setJtaUTJNDIContext(String jtaUTJNDIContext);
+
+ String getJtaTMJNDIContext();
+
+ void setJtaTMJNDIContext(String jtaTMJNDIContext);
+
+ String getJtaTSRJNDIContext();
+
+ void setJtaTSRJNDIContext(String jtaTSRJNDIContext);
+
+ String getXaErrorHandler();
+
+ void setXaErrorHandler(String xaErrorHandler);
+
+ boolean isXaTransactionTimeoutEnabled();
+
+ void setXaTransactionTimeoutEnabled(boolean xaTransactionTimeoutEnabled);
+
+ String getLastResourceOptimisationInterface();
+
+ void setLastResourceOptimisationInterface(String lastResourceOptimisationInterface);
+}
Added: labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/jts/common/JTSEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/jts/common/JTSEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/classes/com/arjuna/ats/jts/common/JTSEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.ats.jts.common;
+
+import java.net.InetAddress;
+
+/**
+ * A JMX MBean interface containing configuration for the JTS system.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface JTSEnvironmentBeanMBean
+{
+ String getPropertiesFile();
+
+ void setPropertiesFile(String propertiesFile);
+
+ boolean isTransactionManager();
+
+ void setTransactionManager(boolean transactionManager);
+
+ boolean isNeedTranContext();
+
+ void setNeedTranContext(boolean needTranContext);
+
+ boolean isAlwaysPropagateContext();
+
+ void setAlwaysPropagateContext(boolean alwaysPropagateContext);
+
+ String getInterposition();
+
+ void setInterposition(String interposition);
+
+ boolean isCheckedTransactions();
+
+ void setCheckedTransactions(boolean checkedTransactions);
+
+ boolean isSupportSubtransactions();
+
+ void setSupportSubtransactions(boolean supportSubtransactions);
+
+ boolean isSupportRollbackSync();
+
+ void setSupportRollbackSync(boolean supportRollbackSync);
+
+ boolean isSupportInterposedSynchronization();
+
+ void setSupportInterposedSynchronization(boolean supportInterposedSynchronization);
+
+ int getDefaultTimeout();
+
+ void setDefaultTimeout(int defaultTimeout);
+
+ boolean isPropagateTerminator();
+
+ void setPropagateTerminator(boolean propagateTerminator);
+
+ String getContextPropMode();
+
+ void setContextPropMode(String contextPropMode);
+
+ int getRecoveryManagerPort();
+
+ void setRecoveryManagerPort(int recoveryManagerPort);
+
+ String getRecoveryManagerAddress();
+
+ void setRecoveryManagerAddress(String recoveryManagerAddress);
+
+ public void setRecoveryManagerInetAddress(InetAddress inetAddress);
+
+ boolean isTimeoutPropagation();
+
+ void setTimeoutPropagation(boolean timeoutPropagation);
+}
Added: labs/jbosstm/trunk/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/common/OrbPortabilityEnvironmentBeanMBean.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/common/OrbPortabilityEnvironmentBeanMBean.java (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTS/orbportability/classes/com/arjuna/orbportability/common/OrbPortabilityEnvironmentBeanMBean.java 2009-08-06 13:00:00 UTC (rev 28855)
@@ -0,0 +1,73 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2009,
+ * @author JBoss, a division of Red Hat.
+ */
+package com.arjuna.orbportability.common;
+
+/**
+ * A JMX MBean interface containing assorted configuration for the Orb Portability layer.
+ *
+ * @author Jonathan Halliday (jonathan.halliday at redhat.com)
+ */
+public interface OrbPortabilityEnvironmentBeanMBean
+{
+ String getPropertiesFile();
+
+ void setPropertiesFile(String propertiesFile);
+
+ String getCorbaDiagnostics();
+
+ void setCorbaDiagnostics(String corbaDiagnostics);
+
+ String getInitialReferencesRoot();
+
+ void setInitialReferencesRoot(String initialReferencesRoot);
+
+ String getInitialReferencesFile();
+
+ void setInitialReferencesFile(String initialReferencesFile);
+
+ String getFileDir();
+
+ void setFileDir(String fileDir);
+
+ String getResolveService();
+
+ void setResolveService(String resolveService);
+
+ String getEventHandler();
+
+ void setEventHandler(String eventHandler);
+
+ String getOrbImplementation();
+
+ void setOrbImplementation(String orbImplementation);
+
+ String getOaImplementation();
+
+ void setOaImplementation(String oaImplementation);
+
+ String getBindMechanism();
+
+ void setBindMechanism(String bindMechanism);
+
+ String getDefaultConfigurationFilename();
+
+ void setDefaultConfigurationFilename(String defaultConfigurationFilename);
+}
More information about the jboss-svn-commits
mailing list