[jboss-cvs] JBossAS SVN: r98927 - trunk/server/src/main/java/org/jboss/ejb/deployers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Dec 23 21:46:49 EST 2009
Author: jason.greene at jboss.com
Date: 2009-12-23 21:46:49 -0500 (Wed, 23 Dec 2009)
New Revision: 98927
Modified:
trunk/server/src/main/java/org/jboss/ejb/deployers/EjbDeployer.java
Log:
Merge 92898
Modified: trunk/server/src/main/java/org/jboss/ejb/deployers/EjbDeployer.java
===================================================================
--- trunk/server/src/main/java/org/jboss/ejb/deployers/EjbDeployer.java 2009-12-24 02:30:28 UTC (rev 98926)
+++ trunk/server/src/main/java/org/jboss/ejb/deployers/EjbDeployer.java 2009-12-24 02:46:49 UTC (rev 98927)
@@ -65,7 +65,7 @@
/**
* A real deployer that translates JBossMetaData into ServiceMetaData for
* the ejb module service mbeans.
- *
+ *
* @author Scott.Stark at jboss.org
* @author adrian at jboss.org
* @version $Revision$
@@ -81,7 +81,7 @@
private String ccmServiceName;
/** The ejb timer service */
private String timerServiceName;
-
+
private boolean callByValue;
private String unauthenticatedIdentity = null;
@@ -169,7 +169,7 @@
/**
* Obtain an unauthenticated identity
- *
+ *
* @return the unauthenticated identity
*/
public String getUnauthenticatedIdentity()
@@ -185,7 +185,7 @@
{
this.unauthenticatedIdentity = unauthenticatedIdentity;
}
-
+
public void setDefaultSecurityDomain(String defaultSecurityDomain)
{
this.defaultSecurityDomain = defaultSecurityDomain;
@@ -195,11 +195,11 @@
{
this.securityManagementName = sm;
}
-
+
public void setSecurityContextClassName(String securityContextClassName)
{
this.securityContextClassName = securityContextClassName;
- }
+ }
/**
* Get the PolicyRegistration Name
@@ -322,7 +322,7 @@
attr.setName("PolicyRegistration");
ServiceInjectionValueMetaData prInjectionValue = new ServiceInjectionValueMetaData(policyRegistrationName);
attr.setValue(prInjectionValue);
- attrs.add(attr);
+ attrs.add(attr);
// Add injection of the WebServiceName
String wsName = getWebServiceName();
if (wsName != null)
@@ -343,8 +343,8 @@
tms.setValue(tmsDepends);
attrs.add(tms);
- ejbModule.setAttributes(attrs);
-
+ ejbModule.setAttributes(attrs);
+
List<ServiceDependencyMetaData> dependencies = new ArrayList<ServiceDependencyMetaData>();
// CCM for CachedConnectionInterceptor dependency
// TODO: this should be injected directly to the interceptor
@@ -437,7 +437,7 @@
ObjectName n = new ObjectName(depend);
ServiceDependencyMetaData sdmd = new ServiceDependencyMetaData();
sdmd.setIDependOn(n.toString());
- dependencies.add(sdmd);
+ dependencies.add(sdmd);
}
}
catch(MalformedObjectNameException e)
@@ -459,7 +459,7 @@
//Pass the unauthenticated identity
if(this.unauthenticatedIdentity != null)
unit.addAttachment("EJB.unauthenticatedIdentity", this.unauthenticatedIdentity, String.class);
- //Pass the SecurityContextClassName
+ //Pass the SecurityContextClassName
if(this.securityContextClassName != null)
unit.addAttachment("EJB.securityContextClassName", securityContextClassName, String.class);
//Pass the Default SecurityDomain
@@ -469,7 +469,7 @@
@Override
public void undeploy(VFSDeploymentUnit unit, JBossMetaData deployment)
- {
+ {
}
/**
@@ -480,7 +480,7 @@
* @param unit the deployment unit
* @param metaData - the ejb jar metaData
* @return "jboss.j2ee:service=EjbModule,module="+unit.getSimpleName()
- * @throws MalformedObjectNameException
+ * @throws MalformedObjectNameException
*/
protected ObjectName getObjectName(VFSDeploymentUnit unit, JBossMetaData metaData)
throws MalformedObjectNameException
@@ -500,9 +500,9 @@
}
unitShortName = unitShortName.substring(unitShortName.lastIndexOf("/") + 1);
- //
+ //
unitShortName = ObjectName.quote(unitShortName);
- name = EjbModule.BASE_EJB_MODULE_NAME + ",module=" + unitShortName;
+ name = EjbModule.BASE_EJB_MODULE_NAME + ",module=" + unitShortName + ",uid=" + System.identityHashCode(metaData);
}
return new ObjectName(name);
More information about the jboss-cvs-commits
mailing list