Reputation:
I want to use the AppDeploymentRuntimesMBean
to issue an application stop
command to a deployed application, but to only specific servers in the cluster.
Upvotes: 0
Views: 683
Reputation: 6227
You can do exactly what you're asking:
When you call stop you can tell it what 'targets' to stop the application on. A target can be a single managed server or a cluster.
There is a fully coded example in their documentation here:
http://docs.oracle.com/middleware/1212/wls/DEPRF/api_intro.htm#BHCHFGGD
Upvotes: 1