jrun.transaction
Interface TXDomainServiceMBean

All Superinterfaces:
java.io.Serializable, Service, ServiceMBean
All Known Implementing Classes:
TXDomainService

public interface TXDomainServiceMBean
extends ServiceMBean

JMX definition of a transaction domain, which contains a transaction manager. This JMX definition contains the following attributes:

  • timeout: specifies the transaction timeout for this domain, in seconds
  • maximum: the maximum number of active transactions permitted in this domain
  • waitTime: the duration to wait on a new transaction while locked

    Author:
    PS Neville

    Fields inherited from interface jrunx.kernel.Service
    INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
     
    Method Summary
     boolean getClusterEnabled()
               
     int getMaximum()
               
     int getTimeout()
               
     java.lang.String getTXDomainName()
               
     int getWaitTime()
               
     void setClusterEnabled(boolean clusterEnabled)
               
     void setMaximum(int n)
               
     void setTimeout(int seconds)
               
     void setWaitTime(int seconds)
               
     
    Methods inherited from interface jrunx.kernel.ServiceMBean
    bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
     
    Methods inherited from interface jrunx.kernel.Service
    destroy, getStatus, init, start, stop, updateStatus
     

    Method Detail

    getTXDomainName

    public java.lang.String getTXDomainName()

    setTimeout

    public void setTimeout(int seconds)

    getTimeout

    public int getTimeout()

    setMaximum

    public void setMaximum(int n)

    getMaximum

    public int getMaximum()

    setWaitTime

    public void setWaitTime(int seconds)

    getWaitTime

    public int getWaitTime()

    setClusterEnabled

    public void setClusterEnabled(boolean clusterEnabled)

    getClusterEnabled

    public boolean getClusterEnabled()


    Copyright � 2002 Macromedia Corporation. All Rights Reserved.