psmith 2003/06/22 19:53:41 Modified: src/java/org/apache/log4j/plugins PluginSkeleton.java Plugin.java Log: backed out the addition of the setter method for the Active property. Exposed the boolean as a protected member so subclasses could modify it for their own purposes. This is probably an interim change until the activation/deactivation of Plugin's is further explored. Revision Changes Path 1.2 +1 -8 jakarta-log4j-sandbox/src/java/org/apache/log4j/plugins/PluginSkeleton.java Index: PluginSkeleton.java =================================================================== RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/plugins/PluginSkeleton.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- PluginSkeleton.java 20 Jun 2003 04:54:49 -0000 1.1 +++ PluginSkeleton.java 23 Jun 2003 02:53:41 -0000 1.2 @@ -75,7 +75,7 @@ /** Repository this plugin is attached to. */ protected LoggerRepository repository; - private boolean active; + protected boolean active; /** Gets the name of the plugin. @@ -118,11 +118,4 @@ return active; } - /** - * Sets the active property of this Plugin - * @param b - */ - public synchronized void setActive(boolean b) { - active = b; - } } 1.2 +0 -6 jakarta-log4j-sandbox/src/java/org/apache/log4j/plugins/Plugin.java Index: Plugin.java =================================================================== RCS file: /home/cvs/jakarta-log4j-sandbox/src/java/org/apache/log4j/plugins/Plugin.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Plugin.java 20 Jun 2003 04:53:55 -0000 1.1 +++ Plugin.java 23 Jun 2003 02:53:41 -0000 1.2 @@ -106,12 +106,6 @@ public boolean isActive(); /** - * Sets the active property of this Plugin, making it active or inactive - * @param active - */ - public void setActive(boolean active); - - /** Call when the plugin should be stopped. */ public void shutdown(); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]