"mark.spritzler" wrote : Is there an api yet to discovery the ears and wars
already deployed?
|
| The KnownComponentTypes doesn't define an ear or war type to use to query the
ManagementView.
|
| Mark
It does not exist yet, and could be part of the JBAS-5529 issue, but it should be
implemented using the ManagementView.getDeploymentNamesForType method:
| /**
| * Get the names of the deployment in the profile that have the
| * given deployment type.
| * @param type - the deployment type
| * @return the names
| */
| public Set<String> getDeploymentNamesForType(String type);
|
The issue is that the ear/war/ejb-jar/client-jar deployment classifications are not
component types that correspond to runtime components with a ManagedComponent. They are
classifications of ManagedDeployments. So I think what we really need is a
KnownDeploymentTypes enum with the standard jbossas deployment types listed. I have added
another subtask for this:
http://jira.jboss.com/jira/browse/JBAS-5557
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153967#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...