ESBCOMP-115 Correctly handle attribute RuntimeStyle when updating component's configuration
parent
834bc00870
commit
9935b3b8f4
|
@ -75,6 +75,8 @@ public class IEPSERuntimeConfiguration implements IEPSERuntimeConfigurationMBean
|
|||
private String mDatabaseSchemaName = "iepseDB";
|
||||
private String mGarbageCollectionEnabled = "true";
|
||||
|
||||
private String mRuntimeStyle = "standAlone";
|
||||
|
||||
private String mConfigSchema;
|
||||
private String mConfigData;
|
||||
// private String mNoOfThreads = "5";
|
||||
|
@ -153,6 +155,13 @@ public class IEPSERuntimeConfiguration implements IEPSERuntimeConfigurationMBean
|
|||
saveAndNotifyListners("IEPSERuntimeConfiguration.GarbageCollectionEnabled_Attribute_changed",
|
||||
PROP_GARBAGE_COLLECTION_ENABLED, oldValue, mGarbageCollectionEnabled);
|
||||
}
|
||||
|
||||
public void setRuntimeStyle(String value) throws InvalidAttributeValueException, MBeanException {
|
||||
String oldValue = getRuntimeStyle();
|
||||
mRuntimeStyle = value;
|
||||
saveAndNotifyListners("IEPSERuntimeConfiguration.RuntimeStyle_Attribute_changed",
|
||||
PROP_RUNTIME_STYLE, oldValue, value);
|
||||
}
|
||||
|
||||
public Integer getEngineExpiryInterval() {
|
||||
return Integer.valueOf(mEngineExpiryInterval);
|
||||
|
@ -170,6 +179,10 @@ public class IEPSERuntimeConfiguration implements IEPSERuntimeConfigurationMBean
|
|||
return mDatabaseSchemaName;
|
||||
}
|
||||
|
||||
public String getRuntimeStyle() {
|
||||
return mRuntimeStyle;
|
||||
}
|
||||
|
||||
public void setTransactedOutput(Boolean value)throws InvalidAttributeValueException, MBeanException {
|
||||
String oldValue = getTransactedOutput().toString();
|
||||
mTransactedOutput = value == null? "true" : value.toString();
|
||||
|
|
|
@ -56,12 +56,14 @@ public interface IEPSERuntimeConfigurationMBean {
|
|||
public void setDatabaseXaJndiName(String dbJndiName) throws InvalidAttributeValueException, MBeanException;
|
||||
public void setDatabaseSchemaName(String dbSchema) throws InvalidAttributeValueException, MBeanException;
|
||||
public void setGarbageCollectionEnabled(Boolean value) throws InvalidAttributeValueException, MBeanException;
|
||||
|
||||
public void setRuntimeStyle(String value) throws InvalidAttributeValueException, MBeanException;
|
||||
|
||||
public Integer getEngineExpiryInterval();
|
||||
public String getDatabaseNonXaJndiName();
|
||||
public String getDatabaseXaJndiName();
|
||||
public String getDatabaseSchemaName();
|
||||
public Boolean getGarbageCollectionEnabled();
|
||||
public String getRuntimeStyle();
|
||||
|
||||
// public void setNoOfThreads(Integer value) throws InvalidAttributeValueException, MBeanException;
|
||||
// public Integer getNoOfThreads() ;
|
||||
|
|
|
@ -129,6 +129,7 @@ IEPSERuntimeConfiguration.NoOfThreads_Attribute_changed=IEPSEaaa07008: NoOfThrea
|
|||
IEPSERuntimeConfiguration.SynchronizedIO_Attribute_changed=IEPSEaaa07010: SynchronizedIO Attribute changed
|
||||
IEPSERuntimeConfiguration.TransactedOutput_Attribute_changed=IEPSEaaa07011: TransactedOutput Attribute changed
|
||||
IEPSERuntimeConfiguration.MaximumBatchSize_Attribute_changed=IEPSEaaa07012: MaximumBatchSize Attribute changed
|
||||
IEPSERuntimeConfiguration.RuntimeStyle_Attribute_changed=IEPSEaaa07013: RuntimeStyle Attribute changed
|
||||
|
||||
IEPSEServiceUnitManager.Deploying_service_unit=IEPSEaaa08000: Deploying service unit: {0} from {1}
|
||||
IEPSEServiceUnitManager.Deployed_service_unit=IEPSEaaa08001: Deployed service unit : {0} from {1} successfully
|
||||
|
|
Loading…
Reference in New Issue