|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.arjuna.ats.arjuna.common.CoreEnvironmentBean
public class CoreEnvironmentBean
A JavaBean containing assorted configuration properties for the core transaction system.
Constructor Summary | |
---|---|
CoreEnvironmentBean()
|
Method Summary | |
---|---|
String |
getBuildId()
|
String |
getBuildVersion()
|
String |
getNodeIdentifier()
Returns the Node Identifier. |
int |
getPid()
Returns the process id to use if ManualProcessId is selected. |
Process |
getProcessImplementation()
Returns an instance of a class implementing com.arjuna.ats.arjuna.utils.Process. |
String |
getProcessImplementationClassName()
Returns the class name of the Process implementation to use. |
int |
getSocketProcessIdMaxPorts()
Returns the maximum number of ports to search when looking for one that is free. |
int |
getSocketProcessIdPort()
Returns the port number for the Socket based process id implementation. |
String |
getVarDir()
Returns the 'var' directory path. |
boolean |
isAllowMultipleLastResources()
Returns if multiple last (i.e. |
boolean |
isDisableMultipleLastResourcesWarning()
Returns if the per-transaction warning on enlistment of multiple last resources is disabled or not. |
void |
setAllowMultipleLastResources(boolean allowMultipleLastResources)
Sets if multiple last (i.e. |
void |
setDisableMultipleLastResourcesWarning(boolean disableMultipleLastResourcesWarning)
Sets if the per-transaction warning on enlistment of multiple last resource is disabled or not. |
void |
setNodeIdentifier(String nodeIdentifier)
Sets the node identifier. |
void |
setPid(int pid)
Sets the process id to use if ManualProcessId is selected. |
void |
setProcessImplementation(Process instance)
Sets the instance of com.arjuna.ats.arjuna.utils.Process |
void |
setProcessImplementationClassName(String processImplementationClassName)
Sets the class name of the Process implementation to use. |
void |
setSocketProcessIdMaxPorts(int socketProcessIdMaxPorts)
Sets the maximum number of ports the socket process id implemention will try when searching to find one that is free. |
void |
setSocketProcessIdPort(int socketProcessIdPort)
Sets the port on which the socket based process id implementation will listen. |
void |
setVarDir(String varDir)
Sets the 'var' directory path |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoreEnvironmentBean()
Method Detail |
---|
public String getVarDir()
getVarDir
in interface CoreEnvironmentBeanMBean
public void setVarDir(String varDir)
varDir
- the path to the 'var' directory.public String getNodeIdentifier()
getNodeIdentifier
in interface CoreEnvironmentBeanMBean
public void setNodeIdentifier(String nodeIdentifier)
nodeIdentifier
- the Node Identifier.public int getSocketProcessIdPort()
getSocketProcessIdPort
in interface CoreEnvironmentBeanMBean
public void setSocketProcessIdPort(int socketProcessIdPort)
socketProcessIdPort
- the port number to bind to.public int getSocketProcessIdMaxPorts()
getSocketProcessIdMaxPorts
in interface CoreEnvironmentBeanMBean
public void setSocketProcessIdMaxPorts(int socketProcessIdMaxPorts)
socketProcessIdMaxPorts
- the maximum number of ports to try.public String getProcessImplementationClassName()
getProcessImplementationClassName
in interface CoreEnvironmentBeanMBean
public void setProcessImplementationClassName(String processImplementationClassName)
processImplementationClassName
- the name of a class implementing Process.public Process getProcessImplementation()
public void setProcessImplementation(Process instance)
instance
- an Object that implements Process, or null.public int getPid()
getPid
in interface CoreEnvironmentBeanMBean
public void setPid(int pid)
pid
- the process id to use.public boolean isAllowMultipleLastResources()
isAllowMultipleLastResources
in interface CoreEnvironmentBeanMBean
public void setAllowMultipleLastResources(boolean allowMultipleLastResources)
allowMultipleLastResources
- true if multiple 1PC resource should be permitted, false otherwise.public boolean isDisableMultipleLastResourcesWarning()
isDisableMultipleLastResourcesWarning
in interface CoreEnvironmentBeanMBean
public void setDisableMultipleLastResourcesWarning(boolean disableMultipleLastResourcesWarning)
disableMultipleLastResourcesWarning
- true to disable the warning, false otherwise.public String getBuildVersion()
getBuildVersion
in interface CoreEnvironmentBeanMBean
public String getBuildId()
getBuildId
in interface CoreEnvironmentBeanMBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |