From: Bill B. <pat...@us...> - 2002-08-16 15:24:30
|
User: patriot1burke Date: 02/08/16 08:24:04 Modified: src/main/org/jboss/ejb/plugins EntitySeppukuInvalidatorInterceptor.java EntitySeppukuInterceptor.java AbstractInterceptor.java Log: moved setConfiguration to AbstractInterceptor Revision Changes Path 1.2 +1 -7 jboss/src/main/org/jboss/ejb/plugins/EntitySeppukuInvalidatorInterceptor.java Index: EntitySeppukuInvalidatorInterceptor.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/EntitySeppukuInvalidatorInterceptor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- EntitySeppukuInvalidatorInterceptor.java 15 Aug 2002 23:24:15 -0000 1.1 +++ EntitySeppukuInvalidatorInterceptor.java 16 Aug 2002 15:24:04 -0000 1.2 @@ -51,7 +51,7 @@ * FIXME: make this an MBean instead. * * @author <a href="mailto:bi...@bu...">Bill Burke</a> - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class EntitySeppukuInvalidatorInterceptor extends AbstractInterceptor @@ -76,7 +76,6 @@ protected String topicName = null; protected boolean transacted = true; protected int acknowledgeMode = TopicSession.AUTO_ACKNOWLEDGE; - protected Element config = null; // Static -------------------------------------------------------- @@ -111,11 +110,6 @@ public void setContainer(Container container) { this.container = (EntityContainer)container; - } - - public void setConfiguration(Element config) - { - this.config = config; } protected void readConfiguration() 1.2 +1 -7 jboss/src/main/org/jboss/ejb/plugins/EntitySeppukuInterceptor.java Index: EntitySeppukuInterceptor.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/EntitySeppukuInterceptor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- EntitySeppukuInterceptor.java 15 Aug 2002 23:24:15 -0000 1.1 +++ EntitySeppukuInterceptor.java 16 Aug 2002 15:24:04 -0000 1.2 @@ -46,7 +46,7 @@ * message through a JMS topic if the change successfully commits * * @author <a href="mailto:bi...@bu...">Bill Burke</a> - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ */ public class EntitySeppukuInterceptor extends AbstractInterceptor @@ -70,7 +70,6 @@ protected String topicName = null; protected boolean transacted = true; protected int acknowledgeMode = TopicSession.AUTO_ACKNOWLEDGE; - protected Element config = null; // Static -------------------------------------------------------- @@ -81,11 +80,6 @@ public void setContainer(Container container) { this.container = (EntityContainer)container; - } - - public void setConfiguration(Element config) - { - this.config = config; } public void readConfiguration() 1.14 +4 -2 jboss/src/main/org/jboss/ejb/plugins/AbstractInterceptor.java Index: AbstractInterceptor.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/AbstractInterceptor.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- AbstractInterceptor.java 15 Aug 2002 23:24:34 -0000 1.13 +++ AbstractInterceptor.java 16 Aug 2002 15:24:04 -0000 1.14 @@ -18,7 +18,7 @@ * * @author <a href="mailto:ric...@te...">Rickard Öberg</a> * @author <a href="mailto:ja...@pl...">Jason Dillon</a> - * @version $Revision: 1.13 $ + * @version $Revision: 1.14 $ */ public abstract class AbstractInterceptor implements Interceptor @@ -32,6 +32,8 @@ /** Logging instance */ protected Logger log = Logger.getLogger(this.getClass()); + protected Element config; + // Static -------------------------------------------------------- // Constructors -------------------------------------------------- @@ -42,7 +44,7 @@ public void setConfiguration(Element config) { - // complete + this.config = config; } |