WebSphere:*,type=AdminOperations
MBean AdminOperations
Management interface for a miscellaneous set of admin functions
Operation Summary | |
void | mergeConfigDataOnDmgr( Process config files that were sent by node. |
void | checkNodeAndDmgrCompatibility( Invokes dmgr side extension checkers to ensure node to be federated is compatible with the dmgr |
void | renameNodeOnDmgr( rename node. |
void | doUnMergeConfigDataOnDmgr( Process config files that were sent by node. |
void | addNode( Add this node to a specified cell. |
void | addNodeWithOptions( Add this node to a specified cell. |
void | removeNode() Remove this node from the cell. |
void | removeNodeWithOptions( Remove this node from the cell. |
java.lang.String | expandVariable( Expand the variable supplied and return the variable value in the current runtime context. |
javax.management.AttributeList | getResourceAdapterFromRAR( Returns a list of JMX attributes corresponding to the Resource Adapter created from the RAR file specified. |
void | extractArchive( Extracts the archive to destination directory specified. |
void | configChanged( config is changed |
java.lang.Object | getTokenForNodeFederationOrRemoval() Method to make sure that only one addNode or removeNode is being done at a time. |
java.lang.Object | getTokenForNodeFederationOrRemoval( Method to make sure that only one addNode or removeNode is being done at a time. |
boolean | completeNodeFederationOrRemoval( Clears the addNode/removeNode flag which was set in {@link #beginNodeFederationOrRemoval}. |
void | forceNodeFederationOrRemovalTokenReset() Forces the synchronization token for addNode and removeNode to be reset so that additional operations can be performed. |
void | updateMetadataForNode( Update managed object metadata for the specified node. |
java.util.Properties | collectMetadataForThisNode() Collect managed object metadata for this MBean's node. |
java.util.Hashtable | _getAppDistributionStatus( Get app distribution status on a node |
java.util.Hashtable | getRARInfo( Returns a list of default attribute value of specified RAR. |
Operation Detail |
public void mergeConfigDataOnDmgr(java.util.Properties nodeProperties,
java.util.Properties adminProperties
)
nodeProperties
-
Metadata for node being added.adminProperties
-
client side options, etc.
public void checkNodeAndDmgrCompatibility(java.util.Properties nodeProperties
)
nodeProperties
-
Metadata for node being added.
public void renameNodeOnDmgr(java.lang.String oldNode,
java.lang.String newNode,
java.lang.String shortName
)
oldNode
-
old nodenewNode
-
new nodeshortName
-
node short name
public void doUnMergeConfigDataOnDmgr(java.util.Properties nodeProperties
)
nodeProperties
-
Metadata for node being removed.
public void addNode(java.lang.String cellHost,
java.lang.String cellPort
)
cellHost
-
Name of the host on which the Deployment Manager is executing.cellPort
-
Number of the JMX port on which the Deployment Manager is listening.
public void addNodeWithOptions(java.lang.String cellHost,
java.lang.String cellPort,
java.lang.String options
)
cellHost
-
Name of the host on which the Deployment Manager is executing.cellPort
-
Number of the JMX port on which the Deployment Manager is listening.options
-
Options to use for addNode; these are the same as the command line options.
public void removeNode()
public void removeNodeWithOptions(java.lang.String options
)
options
-
Options to use for removeNode; these are the same as the command line options.
public java.lang.String expandVariable(java.lang.String variable
)
variable
-
The variable string to be expanded.
public javax.management.AttributeList getResourceAdapterFromRAR(java.lang.String rarPath,
java.util.Hashtable props
)
rarPath
-
The RAR file path local to the node where MBean is running.props
-
The hashtable .
public void extractArchive(java.lang.String archivePath,
java.lang.String dest,
int flag
)
archivePath
-
The archive file path local to the node where MBean is running.dest
-
The destination path local to the node where MBean is running.flag
-
Expansion flags
public void configChanged(com.ibm.websphere.management.repository.ConfigRepositoryEvent event
)
event
-
Config repository event
public java.lang.Object getTokenForNodeFederationOrRemoval()
public java.lang.Object getTokenForNodeFederationOrRemoval(java.lang.String version
)
version
-
WebSphere version of node we are trying to add.
public boolean completeNodeFederationOrRemoval(java.lang.Object token
)
token
-
Token obtained from getTokenForNodeFederationOrRemoval method.
public void forceNodeFederationOrRemovalTokenReset()
public void updateMetadataForNode(java.lang.String nodeName,
java.util.Properties nodeProperties
)
nodeName
-
Name of the node on which the metadata has been gathered.nodeProperties
-
The node metadata gathered by a Managed Object Metadata Collector Manager.
public java.util.Properties collectMetadataForThisNode()
public java.util.Hashtable _getAppDistributionStatus(java.lang.String appName,
java.util.Hashtable options
)
appName
-
App Nameoptions
-
Options
public java.util.Hashtable getRARInfo(java.lang.String ,
java.util.Hashtable props
)
-
The RAR file path local to the node where MBean is running.props
-
The hashtable