@MXBean
public interface SolutionsMXBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MXBEAN_OBJECT_NAME
The object name by which a JMX client can find the SolutionsMXBean
|
| Modifier and Type | Method and Description |
|---|---|
SolutionStatus |
activateSolution(java.lang.String solutionName)
Make a full version of a solution current
|
SolutionStatus |
deploySolution(java.lang.String filename,
boolean exportOnly,
boolean enableOnly,
boolean forceEnable,
boolean redeploy)
Deploys a version of a solution.
|
java.util.List<java.lang.String> |
getProperties(java.lang.String solutionName)
Returns a string list of all property names for the given solution
|
java.lang.String |
getProperty(java.lang.String solutionName,
java.lang.String propertyName)
Returns the property value in the solution.
|
java.util.List<Solution> |
getSolutions()
Returns the list of all solutions deployed on this server.
|
java.lang.String |
getSolutionVersion(java.lang.String solutionName)
Returns the current version for the solution
|
boolean |
isDeployed(java.lang.String solutionName)
Returns true if the solution is currently deployed
|
boolean |
isReady(java.lang.String solutionName)
Returns true if solution is Ready
|
SolutionStatus |
redeploySolution(java.lang.String filename,
boolean enableOnly)
Redeploy the same version of a solution.
|
SolutionStatus |
revertSolution(java.lang.String solutionName)
Revert a solution to its last known state
|
boolean |
setProperties(java.lang.String solutionName,
java.util.Map<java.lang.String,java.lang.String> properties)
Sets a number of property values in the solution.
|
boolean |
setProperty(java.lang.String solutionName,
java.lang.String propertyName,
java.lang.String propertyValue)
Sets the property value in the solution.
|
SolutionStatus |
stopSolution(java.lang.String solutionName)
Stop the current version of a solution
|
SolutionStatus |
undeploySolution(java.lang.String solutionName)
Undeploy a version of a solution.
|
static final java.lang.String MXBEAN_OBJECT_NAME
SolutionStatus deploySolution(java.lang.String filename, boolean exportOnly, boolean enableOnly, boolean forceEnable, boolean redeploy)
filename - the name of the solution file, on the serverexportOnly - if true, deploy the bundle but don't activate in server.xmlenableOnly - if true, only update server.xmlforceEnable - if true, update server.xml even if esa already installedredeploy - if true, redeploy the same version that already exists (non-production only)java.util.List<Solution> getSolutions()
SolutionStatus undeploySolution(java.lang.String solutionName)
solutionName - the symbolic name of the solution to undeploy. This is not the
global name of the solution but is instead the symbolic name of the
specific versionSolutionStatus revertSolution(java.lang.String solutionName)
solutionName - the global name of the solution to revertSolutionStatus redeploySolution(java.lang.String filename, boolean enableOnly)
filename - the name of the solution file, on the serverenableOnly - if true, only update server.xmlSolutionStatus activateSolution(java.lang.String solutionName)
solutionName - the symbolic name of the full version of the solution to activateSolutionStatus stopSolution(java.lang.String solutionName)
solutionName - the symbolic name of the solution to stopjava.lang.String getProperty(java.lang.String solutionName,
java.lang.String propertyName)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionsolutionName - the name of the solutionpropertyName - the name of the propertyboolean setProperty(java.lang.String solutionName,
java.lang.String propertyName,
java.lang.String propertyValue)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionsolutionName - the name of the solutionpropertyName - the name of the propertypropertyValue - the value of the property to setboolean setProperties(java.lang.String solutionName,
java.util.Map<java.lang.String,java.lang.String> properties)
solutionName - the name of the solutionproperties - the map containing the propertiesjava.util.List<java.lang.String> getProperties(java.lang.String solutionName)
solutionName - the name of the solutionjava.lang.String getSolutionVersion(java.lang.String solutionName)
solutionName - the name of the solutionboolean isDeployed(java.lang.String solutionName)
solutionName - the name of the solutionboolean isReady(java.lang.String solutionName)
solutionName - © Copyright IBM 2017