|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The AppManagement interface provides APIs for managing J2EE applications in WebSphere cell.
The management functions for J2EE applications include installation, uninstallation,
upgrade, application editing, application export etc.
The AppManagementProxy class provides static APIs to instantiate/locate an implementation for
AppManagement interface. The management functions exposed by this interface can be invoked
in local mode or JMX mode. The local mode assumes that the WebSphere server is not running
and performs direct manipulation of configuration documents. The JMX mode performs
management functions by communicating with AppManagement MBean running in a WebSphere server.
A single instance of AppManagement MBean is present in a WebSphere server process that
can perform configuration updates (such as deployment manager process in Network Deployment
configuration or the only server process in a single-server configuration).
The AppManagement implementation should never be used in local mode when a WebSphere JMX server
is running as it can conflict with the changes made by the AppManagement MBean running in
the server process.
Note: All the AppManagement APIs take workspaceID as a parameter. A workspace is a
temporary copy of WebSphere configuration documents made available to a single user. A user
can create a workspace, make changes to configuration documents in it and then save the
workspace which checks in the updated documents to WebSphere configuration repository. The
workspace ID passed in any of the AppManagement APIs can be null. In such cases the
AppManagement logic creats the workspace, makes necessary updates to it and then saves
the workspace changes to the repository if the API succeeds. If a workspace ID is passed
in then AppManagement function uses given workspace but does not save or discard it.
It is caller's responsibility to save the workspace changes to WebSphere configuration
repository. Typically users of ConfigService get workspace ID from a
ConfigService session and pass it to the AppManagement APIs.
Method Summary | |
---|---|
void |
changeServerToCluster(javax.management.ObjectName serverName,
javax.management.ObjectName clusterName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Callback for admin clients when a server is turned into a cluster. |
boolean |
checkIfAppExists(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Checks if an application with the given name is installed in the configuration. |
void |
clusterMemberAdded(javax.management.ObjectName memberName,
javax.management.ObjectName clusterName,
java.util.Hashtable prefs,
java.lang.String wID)
Callback for admin clients when a cluster member is added. |
java.util.Vector |
compareSecurityPolicy(java.lang.String policyData,
java.util.Hashtable preferences,
java.lang.String workspaceID)
Compares the policy data from was.policy file of the ear file with the filter.policy file from WebSphere. |
void |
deleteUserAndGroupEntries(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String wID)
Deletes all the security binding information related to users and groups from application metadata. |
void |
exportApplication(java.lang.String appName,
java.lang.String pathName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Exports the application to a given file. |
void |
extractDDL(java.lang.String appName,
java.lang.String ddlPrefix,
java.lang.String dirName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Exports Table.ddl from all the jars in the ear |
java.util.Vector |
getApplicationInfo(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Returns a Vector of AppDeploymentTask objects. |
java.util.Hashtable |
getGlobalSettings()
|
java.util.Vector |
getModuleInfo(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String uniqueModuleURI,
java.lang.String workspaceID)
Returns a Vector of AppDeploymentTask objects. |
void |
installApplication(java.lang.String localEarPath,
java.util.Hashtable properties,
java.lang.String workspaceID)
Installs a J2EE application in WebSphere cell. |
void |
installApplication(java.lang.String localEarPath,
java.lang.String appName,
java.util.Hashtable properties,
java.lang.String workspaceID)
Installs a J2EE application with the given name in WebSphere cell. |
void |
installApplicationLocal(java.lang.String localEarPath,
java.lang.String appName,
java.util.Hashtable properties,
AppNotification.Listener notf)
Installs a J2EE application with the given name in WebSphere cell. |
void |
installApplicationLocal(java.lang.String localEarPath,
java.lang.String appName,
java.util.Hashtable properties,
AppNotification.Listener notf,
java.lang.String workspaceID)
Installs a J2EE application with the given name in WebSphere cell. |
void |
installStandaloneRAR(java.lang.String rarPath,
java.util.Hashtable props,
java.lang.String workspaceID)
Deprecated. Use ConfigService instead. Installs a standalone RAR file. This method creates a J2CResourceAdapter in the resources.xml file in the scope specified by the properties. The user has to manually extract the RAR file at the destination location. |
java.util.Vector |
listApplications(java.util.Hashtable prefs,
java.lang.String wID)
Lists installed applications. |
java.lang.Object |
listModules(java.lang.String appName,
java.util.Hashtable preferences,
java.lang.String workspaceID)
Lists modules of an application. |
void |
moveModule(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String uniqueModuleURI,
javax.management.ObjectName on,
java.lang.String workspaceID)
Deprecated. Replaced by setModuleInfo Moves a module from server-server, server-cluster, cluster-server, cluster-cluster. |
void |
publishWSDL(java.lang.String appName,
java.lang.String pathName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Publish wsdl files to a zip file |
void |
redeployApplication(java.lang.String localEarPath,
java.lang.String appName,
java.util.Hashtable properties,
java.lang.String workspaceID)
Updates an installed J2EE application with a new version of its binaries. |
void |
redeployApplicationLocal(java.lang.String localEarPath,
java.lang.String appName,
java.util.Hashtable properties,
AppNotification.Listener notf,
java.lang.String workspaceID)
Updates an installed J2EE application with a new version of its binaries. |
void |
removeAllAppsFromCluster(javax.management.ObjectName objectName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Callback for admin clients when a cluster is removed. |
void |
removeAllAppsFromNode(java.lang.String nodeName,
java.lang.String cellName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Removes all the applications from all the servers of a given node. |
void |
removeAllAppsFromServer(javax.management.ObjectName objectName,
java.util.Hashtable prefs,
java.lang.String workspaceID)
Callback for admin clients when a server is removed. |
void |
sendJMXEvent(java.lang.Object userData)
|
void |
sendJMXEvent(java.lang.String type,
java.lang.Object userData)
|
void |
setApplicationInfo(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String workspaceID,
java.util.Vector tasks)
Sets the new binding information for an installed application. |
void |
setModuleInfo(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String uniqueModuleURI,
java.lang.String workspaceID,
java.util.Vector tasks)
Sets the new binding information for an installed application module. |
java.lang.String |
startApplication(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String wID)
|
java.lang.String |
stopApplication(java.lang.String appName,
java.util.Hashtable prefs,
java.lang.String wID)
|
void |
uninstallApplication(java.lang.String appName,
java.util.Hashtable props,
java.lang.String workspaceID)
Uninstalls an application from WebSphere cell. |
void |
uninstallApplicationLocal(java.lang.String appName,
java.util.Hashtable props,
AppNotification.Listener notf)
Uninstalls an application from WebSphere cell. |
void |
uninstallApplicationLocal(java.lang.String appName,
java.util.Hashtable props,
AppNotification.Listener notf,
java.lang.String workspaceID)
Uninstalls an application from WebSphere cell. |
void |
updateAccessIDs(java.lang.String appName,
java.lang.Boolean bAll,
java.util.Hashtable prefs,
java.lang.String wID)
Populates the application bindings of the deployment with the access IDs for all the users and groups. |
Method Detail |
public void installApplication(java.lang.String localEarPath, java.util.Hashtable properties, java.lang.String workspaceID) throws AdminException
Key | Value | Description |
---|---|---|
AppConstants.APPDEPL_LOCALE | java.util.Locale | Optional. Used by server install code to generate messages. Default - default locale |
AppConstants.APPDEPL_DISTRIBUTE_APP | java.lang.Boolean | Optional. Default - TRUE. Specifies if EAR file is expanded to (or deleted from) the install destination directory upon installation (or uninstallation). The application EAR is expanded by default to the install destination directory of each node where the application is expected to run. If this option is set to FALSE, it is user's responsibility to make sure that the application EAR is expanded at the install location on each node before application is started. |
AppConstants.APPDEPL_USE_BINARY_CONFIG | java.lang.Boolean | Optional. Default - FALSE. Specifies if the runtime should read application metadata (dd / bindings/ extensions) from ear file. By default the metadata is read from config/cells/cellName/applications/appName.ear/deployments/appName directory in the repository. |
AppConstants.APPDEPL_DEPLOYEJB_CMDARG | java.lang.Boolean | Optional. Default - FALSE Specifies if EJBDeploy tool should be invoked on the EAR during installation. The installation may take up to several minutes if this option is set to TRUE. |
AppConstants.APPDEPL_DEPLOYEJB_OPTIONS | java.util.Hashtable | Required if AppConstants.APPDEPL_DEPLOYEJB_CMDARG is set to TRUE. The entires in this hashtable are as follows |
AppConstants.APPDEPL_INSTALL_DIR | java.lang.String | Optional. Speficies the directory to which the application EAR file will be installed. The default value is ${APP_INSTALL_ROOT}/cell_name/appname.ear, where the APP_INSTALL_ROOT variable expands to install_root/installedApps; for example, C:\WebSphere\AppServer\installedApps\cell_name. You can specify an absolute path or use a pathmap variable such as ${MY_APPS}. You can use a pathmap variable in any installation though it is particularly needed when installing an application on a cluster with members on heterogeneous nodes because, in such cases, there might not be a single way to specify an absolute path. A WebSphere Application Server variable ${CELL} that denotes the current cell name can also be in the pathmap variable; for example, ${MY_APP}/${CELL}. |
AppConstants.APPDEPL_MBEANFORRES | java.lang.Boolean | Optional. Default - TRUE. Specifies if MBeans are created for all the servlets, jsps and EJBs in the application. Turning this off may reduce memory usage and application startup time. |
AppConstants.APPDEPL_RELOAD_ENABLED | java.lang.Boolean | Optional. Default - Not saved if not specified. Specifies whether the application's filesystem will be scanned for updated files, so that changes are dynamically reloaded. If not specified then the value is taken from the IBM extensions in the EAR file. |
AppConstants.APPDEPL_RELOAD_INTERVAL | java.lang.String | Optional. Default - Not saved if not specified. The timeperiod (in seconds) in which the application's filesystem will be scanned for updated files. This setting takes effect only if class reloading is enabled. If not specified then the value is taken from the IBM extension in the EAR file. |
AppConstants.APPDEPL_APP_NAME | java.lang.String | Optional. Specifies the application name. If not specified, then application name is taken from the deployment descriptor of the application. If not specified in the deployment descriptor then the name of the EAR is used as application name. |
AppConstants.APPDEPL_PRECOMPILE_JSP | java.lang.Boolean | Optional. Default - FALSE Specifies whether to precompile jsps in all the Web modules. jsps are precompiled during installation if this attribute is set to TRUE. |
AppConstants.APPDEPL_MODULE_TO_SERVER | java.util.Hashtable |
Required. This table contains module - server relationships. All the
EJB, Web, RAR modules that are to be deployed on specific targets should be listed
in this table. The keys of this table are uniqueModuleURI
strings. The values are Strings of the format
"WebSphere:cell=cellName,node=nodeName, server=serverName" for server
targets and "WebSphere:cell=cellName, cluster=clusterName" for cluster
targets. Multiple targets can be specified by using "+" as a
delimiter. An example entry in the table looks like - Key = "abc.war+WEB-INF/web.xml" Value = "WebSphere:cell=myNetwork,node=mynode,server=server1+ WebSphere:cell=myNetwork,cluster=MyCluster" |
AppConstants.APPDEPL_DELETE_SRC_EAR | java.lang.Boolean | Optional. Default - FALSE Specifies whether to delete the ear file passed in as a parameter after installation. |
AppConstants.APPDEPL_HANDBACK | java.io.Serializable | Optional. Default - N/A Specifies a serializable object that is passed back to the caller with notifications generated during installation. This handback object is useful when a single listener listens to JMX events from multiple concurrent installations. |
AppConstants.APPDEPL_ZERO_BINARY_COPY | java.lang.Boolean | Optional. Default - FALSE When this option is specified, the install logic does not copy EAR file or application metadata in the repository. Only the deployment information is stored in the repository. Specifying this flag also means AppConstants.APPDEPL_DISTRIBUTE_APP=False and AppConstants.APPDEPL_USE_BINARY_CONFIG=True. In other words, values of APPDEPL_DISTRIBUTE_APP and APPDEPL_USE_BINARY_CONFIG are ignored. When an application is installed using this option all subsequent operations on the application such as edit, export, extractDDL (except uninstall) fail with an exception. An application installed using this option is not uploaded to the ND configuration during addNode even if -includeApps option is specified. |
Key | Value |
---|---|
AppConstants.APPDEPL_DEPLOYEJB_DBTYPE_OPTION | java.lang.String - db type (Optional) |
AppConstants.APPDEPL_DEPLOYEJB_DBNAME_OPTION | java.lang.String - db name (Optional) |
AppConstants.APPDEPL_DEPLOYEJB_DBSCHEMA_OPTION | java.lang.String - db schema name (Optional) |
AppConstants.APPDEPL_DEPLOYEJB_CLASSPATH_OPTION | java.lang.String - extract classpath (Optional) |
AppConstants.APPDEPL_DEPLOYEJB_RMIC_OPTION | java.lang.String - extra rmic options (Optional) |
AppConstants.APPDEPL_DEPLOYEJB_VALIDATE_OPTION | java.lang.Boolean - run validation during EJBDeploy (Optional) |
// Assume an ear /tmp/xyz.ear which has 2 module testEJB.jar and testWEB.war. // The configuration has a server server1 and a cluster cluster1. // create AppManagement proxy to AppManagement MBean using AdminClient AppManagement appM = AppManagementProxy.getJMXProxyForClient (adminClient); // create event filter NotificationFilterSupport myFilter = new NotificationFilterSupport(); myFilter.enableType (AppConstants.NotificationType); //get AppManagement MBean's ObjectName ObjectName on = // get MBean (type=AppManagement) // add listener //assumes - listenerImpl which is implementation of javax.management.NotificationListener adminClient.addNotificationListener (on, listenerImpl, myFilter, null); // prepare properties table Hashtable props = new Hashtable(); props.put (AppConstants.APPDEPL_LOCALE, Locale.getDefault()); // create module to server relations table Hashtable module2server = new Hashtable(); module2server.put ("testEJB.jar+META-INF/ejb-jar.xml", "WebSphere:cell=cellName,node=nodeName,server=server1"); module2server.put ("testWEB.jar+WEB-INF/web.xml", "WebSphere:cell=cellName,cluster=cluster1"); props.put (AppConstants.APPDEPL_MODULE_TO_SERVER, module2server); // call install appM.installApplication ("/tmp/xyz.ear", "AppName", props, null); .... // listen to events public void handleNotification (Notification notf, Object handback) { AppNotification ev = (AppNotification) notf.getUserData(); if (ev.taskName.equals (AppNotification.INSTALL)) { if (ev.taskStatus.equals (AppNotification.STATUS_COMPLETED)) { // install succeeded .. remove listener } else if (ev.taskStatus.equals (AppNotification.STATUS_FAILED)) { // install failed .. remove listener } else { // install in progress } } }
localEarPath
- Fully qualified ear file name. The EAR file must be on the
same machine where the MBean is running.properties
- The app install properties tableworkspaceID
- The workspace ID.public void installApplication(java.lang.String localEarPath, java.lang.String appName, java.util.Hashtable properties, java.lang.String workspaceID) throws AdminException
localEarPath
- Fully qualified ear file name. The EAR file must be on the
same machine where the MBean is running.appName
- The application name. If specified, this name overrides the name
specified in properties table or in application's deployment descriptor.properties
- The app install properties tableworkspaceID
- The workspace ID.public void installApplicationLocal(java.lang.String localEarPath, java.lang.String appName, java.util.Hashtable properties, AppNotification.Listener notf) throws AdminException
localEarPath
- Fully qualified name of local ear file.appName
- The application nameproperties
- The app install properties tablenotf
- A local event listener that the AppManagement logic notifies of
installation progress.public void installApplicationLocal(java.lang.String localEarPath, java.lang.String appName, java.util.Hashtable properties, AppNotification.Listener notf, java.lang.String workspaceID) throws AdminException
localEarPath
- Fully qualified name of local ear fileappName
- The application nameproperties
- The app install properties tablenotf
- A local event listener that the AppManagement logic notifies of
installation progress.workspaceID
- The workspace ID.public void uninstallApplicationLocal(java.lang.String appName, java.util.Hashtable props, AppNotification.Listener notf) throws AdminException
appName
- The name of installed applicationprefs
- A properties table to specify additional preferences for uninstallation.
The table can contain properties locale and
handback object.notf
- A local event listener that the AppManagement logic notifies of
uninstallation progress.public void uninstallApplicationLocal(java.lang.String appName, java.util.Hashtable props, AppNotification.Listener notf, java.lang.String workspaceID) throws AdminException
appName
- The name of installed applicationprefs
- A properties table to specify additional preferences for uninstallation.
The table can contain properties locale and
handback object.notf
- A local event listener that the AppManagement logic notifies of
uninstallation progress.workspaceID
- The workspace IDpublic void uninstallApplication(java.lang.String appName, java.util.Hashtable props, java.lang.String workspaceID) throws AdminException
Hashtable props = new Hashtable(); props.put (AppConstants.APPDEPL_LOCALE, Locale.getDefault()): appM.uninstallApplication (appName, props, null);
appName
- The name of installed applicationprefs
- A properties table to specify additional preferences for uninstallation.
The table can contain properties locale and
handback object.workspaceID
- The workspace IDpublic void redeployApplicationLocal(java.lang.String localEarPath, java.lang.String appName, java.util.Hashtable properties, AppNotification.Listener notf, java.lang.String workspaceID) throws AdminException
localEarPath
- Fully qualified ear file nameappName
- The application nameproperties
- The app install properties tablenotf
- A local event listener that the AppManagement logic notifies of
update progress.workspaceID
- The workspaceIDpublic void redeployApplication(java.lang.String localEarPath, java.lang.String appName, java.util.Hashtable properties, java.lang.String workspaceID) throws AdminException
localEarPath
- Fully qualified ear file nameappName
- The application nameproperties
- The app install properties tableworkspaceID
- The workspaceIDpublic java.util.Vector getApplicationInfo(java.lang.String appName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
appName
- The application nameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic java.util.Vector getModuleInfo(java.lang.String appName, java.util.Hashtable prefs, java.lang.String uniqueModuleURI, java.lang.String workspaceID) throws AdminException
appName
- The application nameprefs
- The preferences object containing locale information.uniqueModuleURI
- The unique module URI string.workspaceID
- The workspace IDpublic void setApplicationInfo(java.lang.String appName, java.util.Hashtable prefs, java.lang.String workspaceID, java.util.Vector tasks) throws AdminException
appName
- The application nameprefs
- The preferences object containing locale information.tasks
- The vector of tasksworkspaceID
- The workspace IDpublic void setModuleInfo(java.lang.String appName, java.util.Hashtable prefs, java.lang.String uniqueModuleURI, java.lang.String workspaceID, java.util.Vector tasks) throws AdminException
appName
- The application nameprefs
- The preferences object containing locale information.uniqueModuleURI
- The unique module URI string.workspaceID
- The workspace IDtasks
- The vector of taskspublic void moveModule(java.lang.String appName, java.util.Hashtable prefs, java.lang.String uniqueModuleURI, javax.management.ObjectName on, java.lang.String workspaceID) throws AdminException
appName
- The application nameprefs
- The preferences object containing locale information.uniqueModuleURI
- The unique module URI string.on
- The JMX object name of destination.workspaceID
- The workspace IDpublic void exportApplication(java.lang.String appName, java.lang.String pathName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
appName
- The application namepathName
- The destination file nameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void extractDDL(java.lang.String appName, java.lang.String ddlPrefix, java.lang.String dirName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
appName
- The application nameddlPrefix
- The prefix for DDL filesdirName
- The destination dir nameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void publishWSDL(java.lang.String appName, java.lang.String pathName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
appName
- the name of application for which publishWSDL will be executed.pathName
- the location where the wsdl file to be published. This path has to be valid before calling this method.prefs
- contains both Locale and a nested data structure (AttributeList) for port endpoint addresses
{moduleName {transport address}+}*workspaceID
- the id to identify the current workspaceAdminException
- Throws AdminException if operation fails.public java.util.Vector listApplications(java.util.Hashtable prefs, java.lang.String wID) throws AdminException
prefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic java.lang.Object listModules(java.lang.String appName, java.util.Hashtable preferences, java.lang.String workspaceID) throws AdminException
appName
- The application nameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic java.util.Vector compareSecurityPolicy(java.lang.String policyData, java.util.Hashtable preferences, java.lang.String workspaceID) throws AdminException
policyData
- The contents of was.policy file from earprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void installStandaloneRAR(java.lang.String rarPath, java.util.Hashtable props, java.lang.String workspaceID) throws AdminException
rarPath
- Fully qualified RAR file nameprops
- A properties hashtable that specifies more information
about RAR install. The only required parameter is the scope which can
be specified by the key AppConstants.APPDEPL_SERVER, or
AppConstants.APPDEPL_NODE or AppConstants.APPDEPL_CELL. The
resources.xml file from this specified scope is used to store the
J2CResourceAdapter created by this method. Additionally the properties
table can also specify name (key: AppConstants.RARDEPL_NAME),
description (key: AppConstants.RARDEPL_DESCRIPTION), archivePath (key:
AppConstants.RARDEPL_ARCHIVEPATH), and locale (key: APPDEPL_LOCALE).workspaceID
- The workspace IDpublic boolean checkIfAppExists(java.lang.String appName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
appName
- The application nameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void removeAllAppsFromNode(java.lang.String nodeName, java.lang.String cellName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
nodeName
- The node namecellName
- The cell name of the node.prefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void removeAllAppsFromServer(javax.management.ObjectName objectName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
objectName
- The javax.management.ObjectName for the server. This
objectName should contains cell, node, server name.
e.g. Websphere:cell=cellName,node=nodeName,server=serverNameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void removeAllAppsFromCluster(javax.management.ObjectName objectName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
objectName
- The javax.management.ObjectName for the cluster. This
objectName should contains cell, cluster name.
e.g. Websphere:cell=cellName,cluster=clusterNameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void changeServerToCluster(javax.management.ObjectName serverName, javax.management.ObjectName clusterName, java.util.Hashtable prefs, java.lang.String workspaceID) throws AdminException
serverName
- The javax.management.ObjectName for the server. This
is of the form Websphere:cell=cellName,node=nodeName,server=serverNameclusterName
- The javax.management.ObjectName for the cluster.
This is of the form Websphere:cell=cellName,cluster=clusterNameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void clusterMemberAdded(javax.management.ObjectName memberName, javax.management.ObjectName clusterName, java.util.Hashtable prefs, java.lang.String wID) throws AdminException
serverName
- The javax.management.ObjectName for the server. This
is of the form Websphere:cell=cellName,node=nodeName,server=serverNameclusterName
- The javax.management.ObjectName for the cluster.
This is of the form Websphere:cell=cellName,cluster=clusterNameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void updateAccessIDs(java.lang.String appName, java.lang.Boolean bAll, java.util.Hashtable prefs, java.lang.String wID) throws AdminException
appName
- The application namebAll
- true means accessIDs are obtained from the registry even
if they exist in bindings. false means only the empty entries from bindings
are populated.prefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic void deleteUserAndGroupEntries(java.lang.String appName, java.util.Hashtable prefs, java.lang.String wID) throws AdminException
appName
- The application nameprefs
- The preferences object containing locale information.workspaceID
- The workspace IDpublic java.lang.String startApplication(java.lang.String appName, java.util.Hashtable prefs, java.lang.String wID) throws AdminException
public java.lang.String stopApplication(java.lang.String appName, java.util.Hashtable prefs, java.lang.String wID) throws AdminException
public java.util.Hashtable getGlobalSettings()
public void sendJMXEvent(java.lang.Object userData)
public void sendJMXEvent(java.lang.String type, java.lang.Object userData)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |