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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...