Operation Summary | |
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. |
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. |
Operation Detail |
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 boolean completeNodeFederationOrRemoval(java.lang.Object token
)
token
-
Token obtained from getTokenForNodeFederationOrRemoval method.
public void forceNodeFederationOrRemovalTokenReset()