[jboss-cvs] JBossAS SVN: r91295 - branches/JBPAPP_5_0/ejb3/src/main/org/jboss/ejb3/deployers.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jul 15 10:35:43 EDT 2009


Author: wolfc
Date: 2009-07-15 10:35:43 -0400 (Wed, 15 Jul 2009)
New Revision: 91295

Modified:
   branches/JBPAPP_5_0/ejb3/src/main/org/jboss/ejb3/deployers/JBoss5DeploymentUnit.java
Log:
JBPAPP-2262: removed instantiation of InterceptorInfoRepository

Modified: branches/JBPAPP_5_0/ejb3/src/main/org/jboss/ejb3/deployers/JBoss5DeploymentUnit.java
===================================================================
--- branches/JBPAPP_5_0/ejb3/src/main/org/jboss/ejb3/deployers/JBoss5DeploymentUnit.java	2009-07-15 13:41:27 UTC (rev 91294)
+++ branches/JBPAPP_5_0/ejb3/src/main/org/jboss/ejb3/deployers/JBoss5DeploymentUnit.java	2009-07-15 14:35:43 UTC (rev 91295)
@@ -48,7 +48,6 @@
 {
    private VFSDeploymentUnit unit;
    private ClassLoader classLoader;
-   private InterceptorInfoRepository interceptorInfoRepository;
    private Map defaultPersistenceProperties;
 
    public JBoss5DeploymentUnit(VFSDeploymentUnit unit)
@@ -63,7 +62,6 @@
       
       this.unit = unit;
       this.classLoader = classLoader;
-      this.interceptorInfoRepository = new InterceptorInfoRepository(classLoader);
    }
 
    public Object addAttachment(String name, Object attachment)
@@ -198,9 +196,10 @@
       return null;
    }
 
+   @Deprecated
    public InterceptorInfoRepository getInterceptorInfoRepository()
    {
-      return interceptorInfoRepository;
+      throw new IllegalStateException("EJBTHREE-1852: InterceptorInfoRepository must not be used anymore");
    }
 
    public List<VirtualFile> getResources(VirtualFileFilter filter)




More information about the jboss-cvs-commits mailing list