[jboss-dev-forums] [Design of POJO Server] - Re: Deploying Ears and Wars through ProfileService
scott.stark@jboss.org
do-not-reply at jboss.com
Fri Jun 13 11:36:06 EDT 2008
Yes, testMCBeansDeploymentType, testSarDeploymentType, testWarDeploymentType:
| public void testWarDeploymentType()
| throws Exception
| {
| ManagementView mgtView = getManagementView();
| Set<String> names = mgtView.getDeploymentNamesForType(KnownDeploymentTypes.JavaEEWebApplication.getType());
|
|
The KnownDeploymentTypes value is only used to obtain the string form of the type as the ManagementView api uses a string type since its really an arbitrary notion that we don't want to restrict with an enum. The KnownDeploymentTypes is just a convenience for the well known deployment types.
The DeployUnitTestCase checks for the deployment types it deploys, but it just uses the string type directly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158003#4158003
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158003
More information about the jboss-dev-forums
mailing list