public final class DafGeneralInfoHelper extends com.bea.wlcp.wlng.api.management.WLNGMBeanDelegate implements DafConfigurationsMBean, com.bea.wlcp.wlng.util.MbeanRefreshInterface
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_BLACKLIST_MTD
Black list method key.
|
static String |
KEY_BLACKLIST_PKG
Black list package key.
|
static String |
KEY_CALLOUT_RETRY_TIMES
CalloutRetryTimes key.
|
static String |
KEY_CONNECT_TIMEOUT_MS
ConnectTimeoutMS key.
|
static String |
KEY_CONTINUE_SOUTH_RESPONSE_CALLFLOW
Continue the response call flow.
|
static String |
KEY_CS_CONFIG
Communication service plugin configuration key.
|
static String |
KEY_ENABLE_SOUTH_COOKIE
enable south cookie Key.
|
static String |
KEY_KEEP_NORTH_SESSION
keepNorthSession key.
|
static String |
KEY_MAX_TOTAL_CONNECTIONS
MaxTotalConnections key.
|
static String |
KEY_REUSE_ADDRESS
ReuseAddress key.
|
static String |
KEY_SLA_ERROR_CODE
Configuration key for integer status code to use for SLA violations.
|
static String |
KEY_SLA_ERROR_MSG
Configuration key for String message to use in HTTP responses for SLA violations.
|
static String |
KEY_SOCKET_TIMEOUT_MS
SocketTimeoutMS key.
|
static String |
KEY_SOUTH_CHUNCKED_SETTING
South bound chunked setting.
|
static String |
KEY_SOUTH_CONNECT_CLOSE_HEADER
South bound connection close header setting.
|
static String |
KEY_SOUTH_CONNECT_CLOSE_THRESHOLD
South bound connection close header request pay load threshold in byte.
|
static String |
KEY_USE_SESSION
use session key.
|
static String |
KEY_WHITELIST_MTD
White list method key.
|
static String |
KEY_WHITELIST_PKG
White list package key.
|
static String |
MODULE_NAME
Store module name.
|
static String |
SERVICE_NAME
Service name for this mbean.
|
static String |
SHARED_STORE
store shared name.
|
callOutRetryTimes, connectTimeoutMs, continueResponseCallFlow, enableSouthCookie, installerVersion, keepNorthSession, maxTotalConnections, reuseAddress, sendSouthConnCloseThreshold, sendSouthConnectionCloseHeader, SLAValidationErrorCode, SLAValidationErrorMessage, socketTimeoutMs, southBoundChunkedSetting, useSession| Constructor and Description |
|---|
DafGeneralInfoHelper()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCachedKeepNorthSession()
Get Cached keepNorthSession value.
|
int |
getCallOutRetryTimes()
Gets the retry times when failed to call on south bound service.
|
int |
getConnectTimeoutMs()
Get configured performance parameter connectTimeoutMs.
|
String[] |
getDenyCodeDefinitions() |
boolean |
getEnableSouthCookie()
Get configured performance parameter enableSouthCookie.
|
String |
getInstallerVersion()
Get current installer version.
|
boolean |
getKeepNorthSession()
Get configured performance parameter keepNorthSession.
|
String |
getMapping(int denyCode) |
String[] |
getMappings(int offset,
int limit) |
int |
getMaxTotalConnections()
Get configured performance parameter maxTotalConnections.
|
boolean |
getReuseAddress()
Get configured performance parameter reuseAddress.
|
int |
getSendSouthConnCloseThreshold()
Gets the sendSouthConnCloseThreshold value.
|
int |
getSLAValidationErrorCode()
Override the default HTTP response message to use for SLA validation errors.
|
String |
getSLAValidationErrorMessage()
Override the default HTTP response message to use for SLA validation errors.
|
int |
getSocketTimeoutMs()
Get configured performance parameter socketTimeoutMs.
|
String |
getSouthBoundChunkedSetting()
Return the configured southBoundChunkedSetting.
|
boolean |
getUseSession()
Get configured performance parameter useSession.
|
boolean |
isContinueResponseCallFlow()
Gets continueResponseCallflow value.
|
boolean |
isSendSouthConnectionCloseHeader()
Gets the sendSouthConnectionCloseHeader value.
|
void |
refresh() |
String |
removeMapping(int denyCode) |
String |
retrieveAvailableDafCSConfigurations()
Get the configurations of deployed and enabled communication services.
|
String |
retrieveBlackMethodList()
Retrieve the black method list.
|
String |
retrieveBlackPackageList()
Retrieve the black package list.
|
String |
retrieveDafCSConfigurations()
Get the configurations of communication services.
|
Map<String,List<String>> |
retrieveListAll()
Get all of the black and white list.
|
Map<String,String> |
retrievePerformanceSets()
Get all of the performance settings.
|
String |
retrieveWhiteMethodList()
Retrieve the white method list.
|
String |
retrieveWhitePackageList()
Retrieve the white package list.
|
void |
setCallOutRetryTimes(int callOutRetryTimes)
Sets the retry times when failed to call on south bound service.
|
void |
setConnectTimeoutMs(int ctm)
Set configured performance parameter connectTimeoutMs.
|
void |
setContinueResponseCallFlow(boolean value)
Sets break or not break the response action call flow when OCSG does not
get the response from the southbound services.
|
void |
setEnableSouthCookie(boolean esc)
Set configured performance parameter enableSouthCookie.
|
void |
setKeepNorthSession(boolean kns)
Set configured performance parameter keepNorthSession.
|
String |
setMapping(int denyCode,
int httpCode,
String contentType,
String httpBody) |
void |
setMaxTotalConnections(int mtc)
Set configured performance parameter maxTotalConnections.
|
void |
setReuseAddress(boolean ra)
Set configured performance parameter reuseAddress.
|
void |
setSendSouthConnCloseThreshold(int value)
Sets the sendSouthConnCloseThreshold value.
|
void |
setSendSouthConnectionCloseHeader(boolean value)
Sets the sendSouthConnectionCloseHeader value.
|
void |
setSLAValidationErrorCode(int code)
Override the default HTTP status code to use for SLA validation errors.
|
void |
setSLAValidationErrorMessage(String message)
Override the default HTTP body in error response when SLA is violated.
|
void |
setSocketTimeoutMs(int stm)
Set configured performance parameter socketTimeoutMs.
|
void |
setSouthBoundChunkedSetting(String value)
Set the southBoundChunkedSetting configuration.
|
void |
setUseSession(boolean us)
Set configured performance parameter useSession.
|
String |
updateBlackMethodList(String s)
Update the black method list.
|
String |
updateBlackPackageList(String s)
Update the black package list.
|
void |
updateDafCSConfigurations(String configurations)
Set the configurations of communication services.
|
String |
updateWhiteMethodList(String s)
Update the white method list.
|
String |
updateWhitePackageList(String s)
Update the white package list.
|
addNotificationListener, getNotificationInfo, removeNotificationListener, removeNotificationListener, sendNotificationgetDescription, getDescription, getDescription, getParameterName, invokecacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationpublic static final String SERVICE_NAME
public static final String MODULE_NAME
public static final String SHARED_STORE
public static final String KEY_WHITELIST_MTD
public static final String KEY_WHITELIST_PKG
public static final String KEY_BLACKLIST_MTD
public static final String KEY_BLACKLIST_PKG
public static final String KEY_KEEP_NORTH_SESSION
public static final String KEY_ENABLE_SOUTH_COOKIE
public static final String KEY_CONTINUE_SOUTH_RESPONSE_CALLFLOW
public static final String KEY_USE_SESSION
public static final String KEY_REUSE_ADDRESS
public static final String KEY_MAX_TOTAL_CONNECTIONS
public static final String KEY_SOCKET_TIMEOUT_MS
public static final String KEY_CONNECT_TIMEOUT_MS
public static final String KEY_SLA_ERROR_CODE
public static final String KEY_SLA_ERROR_MSG
public static final String KEY_CALLOUT_RETRY_TIMES
public static final String KEY_CS_CONFIG
public static final String KEY_SOUTH_CHUNCKED_SETTING
public static final String KEY_SOUTH_CONNECT_CLOSE_HEADER
public static final String KEY_SOUTH_CONNECT_CLOSE_THRESHOLD
public DafGeneralInfoHelper()
throws NotCompliantMBeanException
NotCompliantMBeanException - - Will be thrown when fails.public void refresh()
throws Exception
refresh in interface com.bea.wlcp.wlng.util.MbeanRefreshInterfaceExceptionpublic String updateBlackMethodList(String s) throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanupdateBlackMethodList in interface DafConfigurationsMBeans - - The black list method separated by semicolon.com.bea.wlcp.wlng.api.management.ManagementException - - If update failed.public String updateBlackPackageList(String s) throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanupdateBlackPackageList in interface DafConfigurationsMBeans - - The black package list separated by semicolon.com.bea.wlcp.wlng.api.management.ManagementException - - If update failed.public String updateWhiteMethodList(String s) throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanupdateWhiteMethodList in interface DafConfigurationsMBeans - - The white method list separated by semicolon.com.bea.wlcp.wlng.api.management.ManagementException - - If update failed.public String updateWhitePackageList(String s) throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanupdateWhitePackageList in interface DafConfigurationsMBeans - - The white package list separated by semicolon.com.bea.wlcp.wlng.api.management.ManagementException - - If update failed.public String retrieveWhiteMethodList() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanretrieveWhiteMethodList in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - - If retrieving failed.public String retrieveWhitePackageList() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanretrieveWhitePackageList in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - - If retrieving failed.public String retrieveBlackMethodList() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanretrieveBlackMethodList in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - - If retrieving failed.public String retrieveBlackPackageList() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanretrieveBlackPackageList in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - - If retrieving failed.public Map<String,List<String>> retrieveListAll() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanretrieveListAll in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public boolean getKeepNorthSession()
DafConfigurationsMBeangetKeepNorthSession in interface DafConfigurationsMBeanpublic void setKeepNorthSession(boolean kns)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetKeepNorthSession in interface DafConfigurationsMBeankns - - keepNorthSession.com.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public boolean getReuseAddress()
DafConfigurationsMBeangetReuseAddress in interface DafConfigurationsMBeanpublic void setReuseAddress(boolean ra)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetReuseAddress in interface DafConfigurationsMBeanra - - reuseAddress.com.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public boolean getEnableSouthCookie()
DafConfigurationsMBeangetEnableSouthCookie in interface DafConfigurationsMBeanpublic void setEnableSouthCookie(boolean esc)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetEnableSouthCookie in interface DafConfigurationsMBeanesc - - enableSouthCookie.com.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public boolean isContinueResponseCallFlow()
DafConfigurationsMBeanisContinueResponseCallFlow in interface DafConfigurationsMBeanpublic void setContinueResponseCallFlow(boolean value)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetContinueResponseCallFlow in interface DafConfigurationsMBeanvalue - True, continue; False: break.com.bea.wlcp.wlng.api.management.ManagementException - If continueResponseCallflow could not be saved or invalid.public boolean isSendSouthConnectionCloseHeader()
DafConfigurationsMBeanisSendSouthConnectionCloseHeader in interface DafConfigurationsMBeanpublic void setSendSouthConnectionCloseHeader(boolean value)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetSendSouthConnectionCloseHeader in interface DafConfigurationsMBeanvalue - true or false.com.bea.wlcp.wlng.api.management.ManagementException - If sendSthConnectionCloseHeader could not be saved or invalid.public int getSendSouthConnCloseThreshold()
DafConfigurationsMBeangetSendSouthConnCloseThreshold in interface DafConfigurationsMBeanpublic void setSendSouthConnCloseThreshold(int value)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetSendSouthConnCloseThreshold in interface DafConfigurationsMBeanvalue - True, send it; False: not send.com.bea.wlcp.wlng.api.management.ManagementException - If sendSouthConnCloseThreshold could not be saved or invalid.public boolean getUseSession()
DafConfigurationsMBeangetUseSession in interface DafConfigurationsMBeanpublic void setUseSession(boolean us)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetUseSession in interface DafConfigurationsMBeanus - - useSession.com.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public int getMaxTotalConnections()
DafConfigurationsMBeangetMaxTotalConnections in interface DafConfigurationsMBeanpublic void setMaxTotalConnections(int mtc)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetMaxTotalConnections in interface DafConfigurationsMBeanmtc - - maxTotalConnections.com.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public int getSocketTimeoutMs()
DafConfigurationsMBeangetSocketTimeoutMs in interface DafConfigurationsMBeanpublic void setSocketTimeoutMs(int stm)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetSocketTimeoutMs in interface DafConfigurationsMBeanstm - - socketTimeoutMs.com.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public int getConnectTimeoutMs()
DafConfigurationsMBeangetConnectTimeoutMs in interface DafConfigurationsMBeanpublic void setConnectTimeoutMs(int ctm)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetConnectTimeoutMs in interface DafConfigurationsMBeanctm - - connectTimeoutMs.com.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public Map<String,String> retrievePerformanceSets() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanretrievePerformanceSets in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public boolean getCachedKeepNorthSession()
public int getSLAValidationErrorCode()
throws com.bea.wlcp.wlng.api.management.ManagementException
getSLAValidationErrorCode in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - If error code could not be fetched.public void setSLAValidationErrorCode(int code)
throws com.bea.wlcp.wlng.api.management.ManagementException
setSLAValidationErrorCode in interface DafConfigurationsMBeancode - HTTP error code, eg 401. Use -1 to reset to default error codes.com.bea.wlcp.wlng.api.management.ManagementException - If error code could not be saved.public String getSLAValidationErrorMessage() throws com.bea.wlcp.wlng.api.management.ManagementException
getSLAValidationErrorMessage in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - If error code could not be fetched.public String[] getDenyCodeDefinitions() throws com.bea.wlcp.wlng.api.management.ManagementException
getDenyCodeDefinitions in interface oracle.ocsg.daf.store.DenyCodeMappingsOperationscom.bea.wlcp.wlng.api.management.ManagementExceptionpublic String[] getMappings(int offset, int limit) throws com.bea.wlcp.wlng.api.management.ManagementException
getMappings in interface oracle.ocsg.daf.store.DenyCodeMappingsOperationscom.bea.wlcp.wlng.api.management.ManagementExceptionpublic String getMapping(int denyCode) throws com.bea.wlcp.wlng.api.management.ManagementException
getMapping in interface oracle.ocsg.daf.store.DenyCodeMappingsOperationscom.bea.wlcp.wlng.api.management.ManagementExceptionpublic String setMapping(int denyCode, int httpCode, String contentType, String httpBody) throws com.bea.wlcp.wlng.api.management.ManagementException
setMapping in interface oracle.ocsg.daf.store.DenyCodeMappingsOperationscom.bea.wlcp.wlng.api.management.ManagementExceptionpublic String removeMapping(int denyCode) throws com.bea.wlcp.wlng.api.management.ManagementException
removeMapping in interface oracle.ocsg.daf.store.DenyCodeMappingsOperationscom.bea.wlcp.wlng.api.management.ManagementExceptionpublic void setSLAValidationErrorMessage(String message) throws com.bea.wlcp.wlng.api.management.ManagementException
setSLAValidationErrorMessage in interface DafConfigurationsMBeanmessage - HTTP message to send in HTTP response, or empty String to reset to default error messages.com.bea.wlcp.wlng.api.management.ManagementException - If error message could not be saved.public int getCallOutRetryTimes()
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeangetCallOutRetryTimes in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public void setCallOutRetryTimes(int callOutRetryTimes)
throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetCallOutRetryTimes in interface DafConfigurationsMBeancallOutRetryTimes - The retry times.com.bea.wlcp.wlng.api.management.ManagementException - - Exception will be thrown if fails.public String getInstallerVersion()
DafConfigurationsMBeangetInstallerVersion in interface DafConfigurationsMBeanpublic void updateDafCSConfigurations(String configurations) throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanupdateDafCSConfigurations in interface DafConfigurationsMBeanconfigurations - the configurations of communication services.com.bea.wlcp.wlng.api.management.ManagementException - .public String retrieveDafCSConfigurations() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanretrieveDafCSConfigurations in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - .public String retrieveAvailableDafCSConfigurations() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeanretrieveAvailableDafCSConfigurations in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - .public String getSouthBoundChunkedSetting() throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeangetSouthBoundChunkedSetting in interface DafConfigurationsMBeancom.bea.wlcp.wlng.api.management.ManagementException - If southBoundChunkedSetting could not be fetched from storage.public void setSouthBoundChunkedSetting(String value) throws com.bea.wlcp.wlng.api.management.ManagementException
DafConfigurationsMBeansetSouthBoundChunkedSetting in interface DafConfigurationsMBeanvalue - - the southBoundChunkedSetting to be set.com.bea.wlcp.wlng.api.management.ManagementException - If southBoundChunkedSetting could not be saved or invalid.