[jboss-dev-forums] [Design of POJO Server] - Re: Deploying Ears and Wars through ProfileService
scott.stark@jboss.org
do-not-reply at jboss.com
Wed May 28 10:15:47 EDT 2008
"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#4153967
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153967
More information about the jboss-dev-forums
mailing list