[jboss-cvs] JBossAS SVN: r104689 - trunk/server/src/main/java/org/jboss/web/deployers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue May 11 12:53:23 EDT 2010
Author: bstansberry at jboss.com
Date: 2010-05-11 12:53:22 -0400 (Tue, 11 May 2010)
New Revision: 104689
Modified:
trunk/server/src/main/java/org/jboss/web/deployers/AbstractWarDeployment.java
Log:
Bit of modularization: eliminate requirement for org.omg.CORBA.ORB on the classpath
Modified: trunk/server/src/main/java/org/jboss/web/deployers/AbstractWarDeployment.java
===================================================================
--- trunk/server/src/main/java/org/jboss/web/deployers/AbstractWarDeployment.java 2010-05-11 16:50:35 UTC (rev 104688)
+++ trunk/server/src/main/java/org/jboss/web/deployers/AbstractWarDeployment.java 2010-05-11 16:53:22 UTC (rev 104689)
@@ -72,7 +72,6 @@
import org.jboss.vfs.VFSUtils;
import org.jboss.web.WebApplication;
import org.jboss.wsf.spi.deployment.UnifiedVirtualFile;
-import org.omg.CORBA.ORB;
/**
An abstract web app deployment bean. Subclasses implement:
@@ -535,11 +534,10 @@
envCtx = (Context)iniCtx.lookup("java:comp");
// TODO: inject the ORB
- ORB orb = null;
try
{
ObjectName ORB_NAME = new ObjectName("jboss:service=CorbaORB");
- orb = (ORB)server.getAttribute(ORB_NAME, "ORB");
+ org.omg.CORBA.ORB orb = (org.omg.CORBA.ORB)server.getAttribute(ORB_NAME, "ORB");
// Bind the orb
if (orb != null)
{
More information about the jboss-cvs-commits
mailing list