[jboss-cvs] JBossAS SVN: r95045 - branches/JBPAPP_4_2_0_GA_CP/aspects/src/main/org/jboss/aop/deployment.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Oct 16 11:32:07 EDT 2009
Author: kabir.khan at jboss.com
Date: 2009-10-16 11:32:07 -0400 (Fri, 16 Oct 2009)
New Revision: 95045
Modified:
branches/JBPAPP_4_2_0_GA_CP/aspects/src/main/org/jboss/aop/deployment/AspectManagerService.java
Log:
[JBPAPP-2935] Add commented out code to enable/disable reading of annotations on server start/shutdown
Modified: branches/JBPAPP_4_2_0_GA_CP/aspects/src/main/org/jboss/aop/deployment/AspectManagerService.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/aspects/src/main/org/jboss/aop/deployment/AspectManagerService.java 2009-10-16 15:17:49 UTC (rev 95044)
+++ branches/JBPAPP_4_2_0_GA_CP/aspects/src/main/org/jboss/aop/deployment/AspectManagerService.java 2009-10-16 15:32:07 UTC (rev 95045)
@@ -46,6 +46,7 @@
import org.jboss.aop.AspectXmlLoader;
import org.jboss.aop.ClassLoaderValidation;
import org.jboss.aop.Deployment;
+import org.jboss.aop.annotation.PortableAnnotationElement;
import org.jboss.aop.hook.JDK14Transformer;
import org.jboss.aop.hook.JDK14TransformerManager;
import org.jboss.aop.instrument.InstrumentorFactory;
@@ -110,6 +111,8 @@
protected void createService()
throws Exception
{
+// PortableAnnotationElement.setClosingDownManager(false);
+
// Set a default tmp classes dir to the jboss tmp dir/aopclasses
if (tmpClassesDir == null)
{
@@ -144,6 +147,12 @@
baseAop();
}
+
+ @Override
+ protected void destroyService() throws Exception
+ {
+// PortableAnnotationElement.setClosingDownManager(true);
+ }
protected void baseAop()
{
More information about the jboss-cvs-commits
mailing list