[jboss-cvs] jboss/src/main/org/jboss/ejb ...

Anil Saldhana anil.saldhana at jboss.com
Tue Jul 25 23:28:39 EDT 2006


  User: asaldhana
  Date: 06/07/25 23:28:39

  Modified:    src/main/org/jboss/ejb  SecurityActions.java
  Log:
  JBAS-3428: Use MBeanProxy.get
  
  Revision  Changes    Path
  1.10      +3 -3      jboss/src/main/org/jboss/ejb/SecurityActions.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SecurityActions.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/SecurityActions.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- SecurityActions.java	5 Jul 2006 18:26:58 -0000	1.9
  +++ SecurityActions.java	26 Jul 2006 03:28:39 -0000	1.10
  @@ -37,7 +37,7 @@
   import javax.security.jacc.PolicyContext;
   import javax.security.jacc.PolicyContextException;
   
  -import org.jboss.mx.util.MBeanProxyExt;
  +import org.jboss.mx.util.MBeanProxy; 
   import org.jboss.security.RunAsIdentity;
   import org.jboss.security.SecurityAssociation;
   
  @@ -96,7 +96,7 @@
         }
         public Object run() throws Exception
         {
  -         Object proxy = MBeanProxyExt.create(iface, name, server);
  +         Object proxy = MBeanProxy.get(iface, name, server);
            Class[] ifaces = {iface};
            InvocationHandler secureHandler = new InvocationHandlerAction(proxy);
            Object secureProxy = Proxy.newProxyInstance(iface.getClassLoader(), ifaces, secureHandler);
  @@ -143,7 +143,7 @@
         Object proxy;
         if( System.getSecurityManager() == null )
         {
  -         proxy = MBeanProxyExt.create(iface, name, server);
  +         proxy = MBeanProxy.get(iface, name, server);
         }
         else
         {
  
  
  



More information about the jboss-cvs-commits mailing list