The com.ibm.websphere.management.application.AppManagementProxy class provides uniform access to application management functionality, regardless of whether the functionality is accessed from the server process, administrative client process, or a stand-alone Java program in the absence of WebSphere Application Server. This topic provides code excerpts that demonstrate how to obtain an AppManagementProxy instance in a variety of cases.
Before you begin
This task assumes a basic familiarity with WebSphere Application Server programming interfaces and MBean programming. For information on WebSphere Application Server programming interfaces, see application programming interface (API) documentation. For information on MBean programming, see MBean Java application programming interface (API) documentation.Why and when to perform this task
Perform any of the following tasks to access application management functionality through programming.
Steps for this task
AppManagement appMgmt = AppManagementProxy. getJMXProxyForServer();
AdminClient adminClient = .... // create AppManagement proxy object AppManagement appMgmt = AppManagementProxy. getJMXProxyForClient (adminClient);
AppManagement appMgmt = AppManagementProxy. getLocalProxy ();
Result
After you successfully create the AppManagementProxy class, you have access to application management functionality.What to do next
You can perform various management functions such as installation, uninstallation, editing, and so on.Related concepts
Application management
Related tasks
Installing an application through programming