From: Bill B. <pat...@us...> - 2004-08-30 21:20:26
|
User: patriot1burke Date: 04/08/30 14:20:18 Modified: src/main/org/jboss/aspects/txlock TxLockInterceptor.java TxLockInterceptorFactory.java Log: don't create interceptors that have been undeployed. Revision Changes Path 1.3 +2 -5 jboss-aspects/src/main/org/jboss/aspects/txlock/TxLockInterceptor.java Index: TxLockInterceptor.java =================================================================== RCS file: /cvsroot/jboss/jboss-aspects/src/main/org/jboss/aspects/txlock/TxLockInterceptor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- TxLockInterceptor.java 30 Aug 2004 03:53:29 -0000 1.2 +++ TxLockInterceptor.java 30 Aug 2004 21:20:18 -0000 1.3 @@ -6,11 +6,8 @@ */ package org.jboss.aspects.txlock; -import org.jboss.logging.Logger; -import org.jboss.aop.Advised; import org.jboss.aop.joinpoint.Invocation; -import org.jboss.aop.util.PayloadKey; -import org.jboss.aop.metadata.SimpleMetaData; +import org.jboss.logging.Logger; import javax.transaction.Transaction; import javax.transaction.TransactionManager; @@ -20,7 +17,7 @@ * on based on the transaction * * @author <a href="mailto:bi...@jb...">Bill Burke</a> - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ */ public class TxLockInterceptor implements org.jboss.aop.advice.Interceptor { 1.4 +6 -10 jboss-aspects/src/main/org/jboss/aspects/txlock/TxLockInterceptorFactory.java Index: TxLockInterceptorFactory.java =================================================================== RCS file: /cvsroot/jboss/jboss-aspects/src/main/org/jboss/aspects/txlock/TxLockInterceptorFactory.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- TxLockInterceptorFactory.java 30 Aug 2004 03:53:29 -0000 1.3 +++ TxLockInterceptorFactory.java 30 Aug 2004 21:20:18 -0000 1.4 @@ -6,24 +6,20 @@ */ package org.jboss.aspects.txlock; -import javax.naming.InitialContext; -import javax.naming.NamingException; -import javax.transaction.TransactionManager; - import org.jboss.aop.Advisor; import org.jboss.aop.InstanceAdvisor; -import org.jboss.aop.Advised; -import org.jboss.aop.metadata.SimpleMetaData; import org.jboss.aop.joinpoint.Joinpoint; +import org.jboss.aop.metadata.SimpleMetaData; import org.jboss.aop.util.PayloadKey; -import org.jboss.aop.advice.Interceptor; -import org.jboss.aop.advice.InterceptorFactory; -import org.jboss.util.NestedRuntimeException; + +import javax.naming.InitialContext; +import javax.naming.NamingException; +import javax.transaction.TransactionManager; /** * * @author <a href="mailto:bi...@jb...">Bill Burke</a> - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public class TxLockInterceptorFactory implements org.jboss.aop.advice.AspectFactory { |