| static final String BASE_OBJECT_NAME = "jboss.jacc:service=jacc,id=";
|
| /**
| * Qualify the object name with parent name just to avoid conflicts
| * with deployments with the same name in multiple archives
| */
| private String getObjectName(DeploymentUnit unit)
| {
| String deploymentName = unit.getSimpleName();
| DeploymentUnit parentDU = unit.getParent();
| String parentDeploymentName = parentDU != null ?
| ",parent=" + parentDU.getSimpleName() : "";
| return BASE_OBJECT_NAME + deploymentName + parentDeploymentName;
| }
|
If deploymentunit.getSimpleName is blank, then id= is blank.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137156#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...