ConfigurationMBean, DescriptorBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, SettableBean, WebLogicMBeanPostProcessorScriptMBean, PreProcessorScriptMBeanpublic interface ScriptMBean extends ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String[] |
getArguments() |
The arguments to the command script as well as for the error-handler script
|
java.util.Properties |
getEnvironment() |
Returns the properties used to create environment for the script sub-process.
|
int |
getNumberOfRetriesAllowed() |
|
java.lang.String |
getPathToErrorHandlerScript() |
Returns the path to the error handler script to be executed.
|
java.lang.String |
getPathToScript() |
Returns the path to the script to be executed.
|
long |
getRetryDelayInMillis() |
|
int |
getTimeoutInSeconds() |
Returns the timeout interval for script execution in seconds.
|
java.lang.String |
getWorkingDirectory() |
|
boolean |
isIgnoreFailures() |
|
void |
setArguments(java.lang.String[] arguments) |
Sets the arguments to the command script as well as for the error-handler script
|
void |
setEnvironment(java.util.Properties environment) |
Set properties to be used to create environment for the script sub-process.
|
void |
setIgnoreFailures(boolean ignore) |
Set ignoreFailures flag
|
void |
setNumberOfRetriesAllowed(int retries) |
Set number of allowed retries
|
void |
setPathToErrorHandlerScript(java.lang.String pathToErrorHandlerScript) |
|
void |
setPathToScript(java.lang.String pathToScript) |
|
void |
setRetryDelayInMillis(long retryDelay) |
Set retry delay
|
void |
setTimeoutInSeconds(int timeout) |
Sets the timeout interval in seconds for script execution.
|
void |
setWorkingDirectory(java.lang.String workingDirectory) |
Set working directory for running the script
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenergetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListenergetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentjava.lang.String getWorkingDirectory()
void setWorkingDirectory(java.lang.String workingDirectory)
workingDirectory - Working directory to be used while running the scriptjava.lang.String getPathToScript()
DomainDir/bin/scripts directory. When
specified as an absolute path, the script must be under DomainDir/bin/scripts
directory.void setPathToScript(java.lang.String pathToScript)
the - path to the Script commandjava.lang.String[] getArguments()
void setArguments(java.lang.String[] arguments)
arguments - the arguments to the command script as well as for the error-handler scriptjava.util.Properties getEnvironment()
void setEnvironment(java.util.Properties environment)
environment - boolean isIgnoreFailures()
void setIgnoreFailures(boolean ignore)
ignore - if true, ignore failures while execution of script specified by getPathToScript()int getNumberOfRetriesAllowed()
void setNumberOfRetriesAllowed(int retries)
retries - Number of retrieslong getRetryDelayInMillis()
void setRetryDelayInMillis(long retryDelay)
retryDelay - Number of milli seconds to wait before re-trying failed scriptjava.lang.String getPathToErrorHandlerScript()
DomainDir/bin/scripts directory. When specified as an
absolute path, the script must be under DomainDir/bin/scripts directory.void setPathToErrorHandlerScript(java.lang.String pathToErrorHandlerScript)
pathToErrorHandlerScript - the path to the error handler Script.int getTimeoutInSeconds()
void setTimeoutInSeconds(int timeout)
timeout -