hilmer 2004/02/18 13:47:28 Modified: . Tag: branch_2_1_fcs build.xml src/java/org/apache/james Tag: branch_2_1_fcs JamesMBean.java src/java/org/apache/james/context Tag: branch_2_1_fcs AvalonContextUtilities.java src/java/org/apache/james/core Tag: branch_2_1_fcs AbstractJamesService.java src/java/org/apache/james/dnsserver Tag: branch_2_1_fcs DNSServer.java DNSServer.xinfo src/java/org/apache/james/fetchmail Tag: branch_2_1_fcs FetchScheduler.java FetchScheduler.xinfo src/java/org/apache/james/fetchpop Tag: branch_2_1_fcs FetchScheduler.java FetchScheduler.xinfo src/java/org/apache/james/nntpserver Tag: branch_2_1_fcs NNTPServer.java NNTPServer.xinfo src/java/org/apache/james/pop3server Tag: branch_2_1_fcs POP3Server.java POP3Server.xinfo src/java/org/apache/james/remotemanager Tag: branch_2_1_fcs RemoteManager.java RemoteManager.xinfo src/java/org/apache/james/smtpserver Tag: branch_2_1_fcs SMTPServer.java SMTPServer.xinfo Added: src/java/org/apache/james/dnsserver Tag: branch_2_1_fcs DNSServerMBean.java src/java/org/apache/james/fetchmail Tag: branch_2_1_fcs FetchSchedulerMBean.java src/java/org/apache/james/fetchpop Tag: branch_2_1_fcs FetchSchedulerMBean.java src/java/org/apache/james/nntpserver Tag: branch_2_1_fcs NNTPServerMBean.java src/java/org/apache/james/pop3server Tag: branch_2_1_fcs POP3ServerMBean.java src/java/org/apache/james/remotemanager Tag: branch_2_1_fcs RemoteManagerMBean.java src/java/org/apache/james/smtpserver Tag: branch_2_1_fcs SMTPServerMBean.java tools/lib Tag: branch_2_1_fcs LICENSE.xdoclet.txt commons-logging.jar log4j-core.jar xdoclet-20020825.jar xjavadoc-20020825.jar Removed: src/java/org/apache/james Tag: branch_2_1_fcs JamesMBean.mxinfo Log: Submitted by:Steve SHort Reviewed by:hilmer More information are made available through JMX. .mxinfo files are autogenerated by the build process. Needed tools for mxinfo generation are added to tools/lib these jars obtained from Phoenix 4.0.3 Revision Changes Path No revision No revision 1.116.2.21 +32 -2 james-server/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/james-server/build.xml,v retrieving revision 1.116.2.20 retrieving revision 1.116.2.21 diff -u -r1.116.2.20 -r1.116.2.21 --- build.xml 23 Oct 2003 19:00:45 -0000 1.116.2.20 +++ build.xml 18 Feb 2004 21:47:26 -0000 1.116.2.21 @@ -66,6 +66,14 @@ <!-- =================================================================== + Set the properties for build tools directory + =================================================================== + --> + <property name="tools.dir" value="tools"/> + <property name="tools.lib.dir" value="${tools.dir}/lib"/> + + <!-- + =================================================================== Set the properties for source directories and parameters =================================================================== --> @@ -122,10 +130,24 @@ </fileset> <pathelement path="${build.classes}"/> </path> + + <path id="tools.class.path"> + <fileset dir="${tools.lib.dir}"> + <include name="*.jar"/> + </fileset> + <fileset dir="${phoenix.lib.dir}"> + <include name="*.jar"/> + </fileset> + </path> + <taskdef name="sar" classname="org.apache.avalon.phoenix.tools.tasks.Sar"> <classpath refid="project.class.path"/> </taskdef> + <taskdef name="phoenix-mxinfo" classname="org.apache.avalon.phoenix.tools.xdoclet.PhoenixXDoclet"> + <classpath refid="tools.class.path"/> + </taskdef> + <!-- =================================================================== Main target @@ -202,6 +224,14 @@ </chmod> </target> + <target name="prepare-mxinfo"> + <phoenix-mxinfo destdir="${build.classes}"> + <fileset dir="${java.dir}"> + <include name="**" /> + </fileset> + <mxinfo/> + </phoenix-mxinfo> + </target> <!-- =================================================================== jdbc3 @@ -218,7 +248,7 @@ Prepare target =================================================================== --> - <target name="prepare" depends="prepare-common,prepare-phoenix,prepare-jdbc3"/> + <target name="prepare" depends="prepare-common,prepare-phoenix,prepare-jdbc3,prepare-mxinfo"/> <!-- =================================================================== No revision No revision 1.2.4.3 +7 -2 james-server/src/java/org/apache/james/JamesMBean.java Index: JamesMBean.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/JamesMBean.java,v retrieving revision 1.2.4.2 retrieving revision 1.2.4.3 diff -u -r1.2.4.2 -r1.2.4.3 --- JamesMBean.java 8 Mar 2003 21:54:02 -0000 1.2.4.2 +++ JamesMBean.java 18 Feb 2004 21:47:26 -0000 1.2.4.3 @@ -61,14 +61,19 @@ /** * An interface to expose James management functionality through JMX. At * the time of this writing, this interface is just an example. + * + * @phoenix:mx-topic name="MainJAMESServerManagement" */ public interface JamesMBean { /** * Adds a user to this mail server. * - * @param userName the name of the user being added - * @param password the password of the user being added + * @phoenix:mx-operation + * @phoenix:mx-description Add a new user + * + * @param userName The name of the user being added + * @param password The password of the user being added */ boolean addUser(String userName, String password); } No revision No revision 1.1.4.3 +1 -1 james-server/src/java/org/apache/james/context/AvalonContextUtilities.java Index: AvalonContextUtilities.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/context/AvalonContextUtilities.java,v retrieving revision 1.1.4.2 retrieving revision 1.1.4.3 diff -u -r1.1.4.2 -r1.1.4.3 --- AvalonContextUtilities.java 8 Mar 2003 21:54:02 -0000 1.1.4.2 +++ AvalonContextUtilities.java 18 Feb 2004 21:47:26 -0000 1.1.4.3 @@ -141,5 +141,5 @@ * Private constructor to ensure that instances of this class aren't * instantiated. */ - private AvalonContextUtilities() {}; + private AvalonContextUtilities() {} } No revision No revision 1.4.4.4 +32 -1 james-server/src/java/org/apache/james/core/AbstractJamesService.java Index: AbstractJamesService.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/core/AbstractJamesService.java,v retrieving revision 1.4.4.3 retrieving revision 1.4.4.4 diff -u -r1.4.4.3 -r1.4.4.4 --- AbstractJamesService.java 13 Feb 2004 14:38:33 -0000 1.4.4.3 +++ AbstractJamesService.java 18 Feb 2004 21:47:26 -0000 1.4.4.4 @@ -447,7 +447,7 @@ * * @return is the service enabled. */ - protected final boolean isEnabled() { + public final boolean isEnabled() { return enabled; } /** @@ -498,6 +498,37 @@ name = name.substring(p + 1); } return name; + } + + /** + * Returns the port that the service is bound to + * + * @return int The port number + */ + public int getPort() { + return port; + } + + /** + * Returns the address if the network interface the socket is bound to + * + * @return String The network interface name + */ + public String getNetworkInterface() { + if (bindTo == null) { + return "All"; + } else { + return bindTo.getHostAddress(); + } + } + + /** + * Returns the server socket type, plain or SSL + * + * @return String The scoekt type, plain or SSL + */ + public String getSocketType() { + return serverSocketType; } } No revision No revision 1.9.4.10 +10 -1 james-server/src/java/org/apache/james/dnsserver/DNSServer.java Index: DNSServer.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/dnsserver/DNSServer.java,v retrieving revision 1.9.4.9 retrieving revision 1.9.4.10 diff -u -r1.9.4.9 -r1.9.4.10 --- DNSServer.java 12 Dec 2003 22:48:19 -0000 1.9.4.9 +++ DNSServer.java 18 Feb 2004 21:47:26 -0000 1.9.4.10 @@ -91,7 +91,7 @@ public class DNSServer extends AbstractLogEnabled implements Configurable, Initializable, - org.apache.james.services.DNSServer { + org.apache.james.services.DNSServer, DNSServerMBean { /** * A resolver instance used to retrieve DNS records. This @@ -199,6 +199,15 @@ getLogger().debug("DNSServer ...init end"); } + /** + * <p>Return the list of DNS servers in use by this service</p> + * + * @return an array of DNS server names + */ + public String[] getDNSServers() { + return (String[])dnsServers.toArray(new String[0]); + } + /** * <p>Return a prioritized unmodifiable list of MX records * obtained from the server.</p> 1.3.6.1 +6 -0 james-server/src/java/org/apache/james/dnsserver/DNSServer.xinfo Index: DNSServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/dnsserver/DNSServer.xinfo,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -u -r1.3 -r1.3.6.1 --- DNSServer.xinfo 25 Sep 2001 04:51:19 -0000 1.3 +++ DNSServer.xinfo 18 Feb 2004 21:47:26 -0000 1.3.6.1 @@ -12,4 +12,10 @@ <service name="org.apache.james.services.DNSServer" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.dnsserver.DNSServerMBean"/> + </management-access-points> + + </blockinfo> No revision Index: DNSServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/dnsserver/DNSServer.xinfo,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -u -r1.3 -r1.3.6.1 --- DNSServer.xinfo 25 Sep 2001 04:51:19 -0000 1.3 +++ DNSServer.xinfo 18 Feb 2004 21:47:26 -0000 1.3.6.1 @@ -12,4 +12,10 @@ <service name="org.apache.james.services.DNSServer" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.dnsserver.DNSServerMBean"/> + </management-access-points> + + </blockinfo> No revision Index: DNSServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/dnsserver/DNSServer.xinfo,v retrieving revision 1.3 retrieving revision 1.3.6.1 diff -u -r1.3 -r1.3.6.1 --- DNSServer.xinfo 25 Sep 2001 04:51:19 -0000 1.3 +++ DNSServer.xinfo 18 Feb 2004 21:47:26 -0000 1.3.6.1 @@ -12,4 +12,10 @@ <service name="org.apache.james.services.DNSServer" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.dnsserver.DNSServerMBean"/> + </management-access-points> + + </blockinfo> 1.1.2.1 +71 -0 james-server/src/java/org/apache/james/dnsserver/Attic/DNSServerMBean.java No revision No revision 1.8.2.4 +12 -2 james-server/src/java/org/apache/james/fetchmail/FetchScheduler.java Index: FetchScheduler.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/fetchmail/FetchScheduler.java,v retrieving revision 1.8.2.3 retrieving revision 1.8.2.4 diff -u -r1.8.2.3 -r1.8.2.4 --- FetchScheduler.java 11 Feb 2004 17:17:07 -0000 1.8.2.3 +++ FetchScheduler.java 18 Feb 2004 21:47:26 -0000 1.8.2.4 @@ -42,7 +42,7 @@ */ public class FetchScheduler extends AbstractLogEnabled - implements Serviceable, Configurable, Initializable, Disposable { + implements Serviceable, Configurable, Initializable, Disposable, FetchSchedulerMBean { /** * Configuration object for this service @@ -138,4 +138,14 @@ getLogger().info("FetchMail ...dispose end"); } } + + /** + * Describes whether this service is enabled by configuration. + * + * @return is the service enabled. + */ + public final boolean isEnabled() { + return enabled; + } + } 1.3.2.2 +6 -0 james-server/src/java/org/apache/james/fetchmail/FetchScheduler.xinfo Index: FetchScheduler.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/fetchmail/FetchScheduler.xinfo,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -u -r1.3.2.1 -r1.3.2.2 --- FetchScheduler.xinfo 30 Aug 2003 18:52:18 -0000 1.3.2.1 +++ FetchScheduler.xinfo 18 Feb 2004 21:47:26 -0000 1.3.2.2 @@ -10,6 +10,12 @@ <!-- services that are offered by this block --> <services/> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.fetchmail.FetchSchedulerMBean"/> + </management-access-points> + + <dependencies> <dependency> <service name="org.apache.james.services.MailServer" version="1.0"/> No revision Index: FetchScheduler.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/fetchmail/FetchScheduler.xinfo,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -u -r1.3.2.1 -r1.3.2.2 --- FetchScheduler.xinfo 30 Aug 2003 18:52:18 -0000 1.3.2.1 +++ FetchScheduler.xinfo 18 Feb 2004 21:47:26 -0000 1.3.2.2 @@ -10,6 +10,12 @@ <!-- services that are offered by this block --> <services/> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.fetchmail.FetchSchedulerMBean"/> + </management-access-points> + + <dependencies> <dependency> <service name="org.apache.james.services.MailServer" version="1.0"/> No revision Index: FetchScheduler.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/fetchmail/FetchScheduler.xinfo,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -u -r1.3.2.1 -r1.3.2.2 --- FetchScheduler.xinfo 30 Aug 2003 18:52:18 -0000 1.3.2.1 +++ FetchScheduler.xinfo 18 Feb 2004 21:47:26 -0000 1.3.2.2 @@ -10,6 +10,12 @@ <!-- services that are offered by this block --> <services/> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.fetchmail.FetchSchedulerMBean"/> + </management-access-points> + + <dependencies> <dependency> <service name="org.apache.james.services.MailServer" version="1.0"/> 1.1.2.1 +75 -0 james-server/src/java/org/apache/james/fetchmail/Attic/FetchSchedulerMBean.java No revision No revision 1.4.4.3 +11 -2 james-server/src/java/org/apache/james/fetchpop/FetchScheduler.java Index: FetchScheduler.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/fetchpop/FetchScheduler.java,v retrieving revision 1.4.4.2 retrieving revision 1.4.4.3 diff -u -r1.4.4.2 -r1.4.4.3 --- FetchScheduler.java 8 Mar 2003 21:54:03 -0000 1.4.4.2 +++ FetchScheduler.java 18 Feb 2004 21:47:27 -0000 1.4.4.3 @@ -84,7 +84,7 @@ */ public class FetchScheduler extends AbstractLogEnabled - implements Component, Composable, Configurable, Initializable, Disposable { + implements Component, Composable, Configurable, Initializable, Disposable, FetchSchedulerMBean { /** * Configuration object for this service @@ -163,6 +163,15 @@ getLogger().info( "Fetch POP ...dispose end" ); } + } + + /** + * Describes whether this service is enabled by configuration. + * + * @return is the service enabled. + */ + public final boolean isEnabled() { + return enabled; } } 1.2.4.1 +6 -0 james-server/src/java/org/apache/james/fetchpop/FetchScheduler.xinfo Index: FetchScheduler.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/fetchpop/FetchScheduler.xinfo,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -u -r1.2 -r1.2.4.1 --- FetchScheduler.xinfo 24 Sep 2002 22:03:12 -0000 1.2 +++ FetchScheduler.xinfo 18 Feb 2004 21:47:27 -0000 1.2.4.1 @@ -12,6 +12,12 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.fetchpop.FetchSchedulerMBean"/> + </management-access-points> + + <dependencies> <dependency> <service name="org.apache.james.services.MailServer" version="1.0"/> No revision Index: FetchScheduler.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/fetchpop/FetchScheduler.xinfo,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -u -r1.2 -r1.2.4.1 --- FetchScheduler.xinfo 24 Sep 2002 22:03:12 -0000 1.2 +++ FetchScheduler.xinfo 18 Feb 2004 21:47:27 -0000 1.2.4.1 @@ -12,6 +12,12 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.fetchpop.FetchSchedulerMBean"/> + </management-access-points> + + <dependencies> <dependency> <service name="org.apache.james.services.MailServer" version="1.0"/> No revision Index: FetchScheduler.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/fetchpop/FetchScheduler.xinfo,v retrieving revision 1.2 retrieving revision 1.2.4.1 diff -u -r1.2 -r1.2.4.1 --- FetchScheduler.xinfo 24 Sep 2002 22:03:12 -0000 1.2 +++ FetchScheduler.xinfo 18 Feb 2004 21:47:27 -0000 1.2.4.1 @@ -12,6 +12,12 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.fetchpop.FetchSchedulerMBean"/> + </management-access-points> + + <dependencies> <dependency> <service name="org.apache.james.services.MailServer" version="1.0"/> 1.1.2.1 +75 -0 james-server/src/java/org/apache/james/fetchpop/Attic/FetchSchedulerMBean.java No revision No revision 1.13.4.3 +1 -1 james-server/src/java/org/apache/james/nntpserver/NNTPServer.java Index: NNTPServer.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/nntpserver/NNTPServer.java,v retrieving revision 1.13.4.2 retrieving revision 1.13.4.3 diff -u -r1.13.4.2 -r1.13.4.3 --- NNTPServer.java 8 Mar 2003 21:54:05 -0000 1.13.4.2 +++ NNTPServer.java 18 Feb 2004 21:47:27 -0000 1.13.4.3 @@ -92,7 +92,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Danny Angus</a> * @author Peter M. Goldstein <[EMAIL PROTECTED]> */ -public class NNTPServer extends AbstractJamesService implements Component { +public class NNTPServer extends AbstractJamesService implements Component, NNTPServerMBean { /** * Whether authentication is required to access this NNTP server 1.6.4.2 +5 -0 james-server/src/java/org/apache/james/nntpserver/NNTPServer.xinfo Index: NNTPServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/nntpserver/NNTPServer.xinfo,v retrieving revision 1.6.4.1 retrieving revision 1.6.4.2 diff -u -r1.6.4.1 -r1.6.4.2 --- NNTPServer.xinfo 13 Feb 2004 14:38:33 -0000 1.6.4.1 +++ NNTPServer.xinfo 18 Feb 2004 21:47:27 -0000 1.6.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.nntpserver.NNTPServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.JamesConnectionManager" No revision Index: NNTPServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/nntpserver/NNTPServer.xinfo,v retrieving revision 1.6.4.1 retrieving revision 1.6.4.2 diff -u -r1.6.4.1 -r1.6.4.2 --- NNTPServer.xinfo 13 Feb 2004 14:38:33 -0000 1.6.4.1 +++ NNTPServer.xinfo 18 Feb 2004 21:47:27 -0000 1.6.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.nntpserver.NNTPServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.JamesConnectionManager" No revision Index: NNTPServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/nntpserver/NNTPServer.xinfo,v retrieving revision 1.6.4.1 retrieving revision 1.6.4.2 diff -u -r1.6.4.1 -r1.6.4.2 --- NNTPServer.xinfo 13 Feb 2004 14:38:33 -0000 1.6.4.1 +++ NNTPServer.xinfo 18 Feb 2004 21:47:27 -0000 1.6.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.nntpserver.NNTPServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.JamesConnectionManager" 1.1.2.1 +102 -0 james-server/src/java/org/apache/james/nntpserver/Attic/NNTPServerMBean.java No revision No revision 1.13.4.3 +1 -1 james-server/src/java/org/apache/james/pop3server/POP3Server.java Index: POP3Server.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/pop3server/POP3Server.java,v retrieving revision 1.13.4.2 retrieving revision 1.13.4.3 diff -u -r1.13.4.2 -r1.13.4.3 --- POP3Server.java 8 Mar 2003 21:54:06 -0000 1.13.4.2 +++ POP3Server.java 18 Feb 2004 21:47:27 -0000 1.13.4.3 @@ -94,7 +94,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Danny Angus</a> * @author Peter M. Goldstein <[EMAIL PROTECTED]> */ -public class POP3Server extends AbstractJamesService implements Component { +public class POP3Server extends AbstractJamesService implements Component, POP3ServerMBean { /** * The internal mail server service 1.3.4.2 +5 -0 james-server/src/java/org/apache/james/pop3server/POP3Server.xinfo Index: POP3Server.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/pop3server/POP3Server.xinfo,v retrieving revision 1.3.4.1 retrieving revision 1.3.4.2 diff -u -r1.3.4.1 -r1.3.4.2 --- POP3Server.xinfo 13 Feb 2004 14:38:33 -0000 1.3.4.1 +++ POP3Server.xinfo 18 Feb 2004 21:47:27 -0000 1.3.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.pop3server.POP3ServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.MailStore" version="1.0"/> No revision Index: POP3Server.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/pop3server/POP3Server.xinfo,v retrieving revision 1.3.4.1 retrieving revision 1.3.4.2 diff -u -r1.3.4.1 -r1.3.4.2 --- POP3Server.xinfo 13 Feb 2004 14:38:33 -0000 1.3.4.1 +++ POP3Server.xinfo 18 Feb 2004 21:47:27 -0000 1.3.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.pop3server.POP3ServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.MailStore" version="1.0"/> No revision Index: POP3Server.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/pop3server/POP3Server.xinfo,v retrieving revision 1.3.4.1 retrieving revision 1.3.4.2 diff -u -r1.3.4.1 -r1.3.4.2 --- POP3Server.xinfo 13 Feb 2004 14:38:33 -0000 1.3.4.1 +++ POP3Server.xinfo 18 Feb 2004 21:47:27 -0000 1.3.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.pop3server.POP3ServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.MailStore" version="1.0"/> 1.1.2.1 +103 -0 james-server/src/java/org/apache/james/pop3server/Attic/POP3ServerMBean.java No revision No revision 1.12.4.3 +1 -1 james-server/src/java/org/apache/james/remotemanager/RemoteManager.java Index: RemoteManager.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/remotemanager/RemoteManager.java,v retrieving revision 1.12.4.2 retrieving revision 1.12.4.3 diff -u -r1.12.4.2 -r1.12.4.3 --- RemoteManager.java 8 Mar 2003 21:54:06 -0000 1.12.4.2 +++ RemoteManager.java 18 Feb 2004 21:47:27 -0000 1.12.4.3 @@ -96,7 +96,7 @@ * @author Peter M. Goldstein <[EMAIL PROTECTED]> */ public class RemoteManager - extends AbstractJamesService implements Component { + extends AbstractJamesService implements Component, RemoteManagerMBean { /** * A HashMap of (user id, passwords) for James administrators 1.5.4.2 +5 -0 james-server/src/java/org/apache/james/remotemanager/RemoteManager.xinfo Index: RemoteManager.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/remotemanager/RemoteManager.xinfo,v retrieving revision 1.5.4.1 retrieving revision 1.5.4.2 diff -u -r1.5.4.1 -r1.5.4.2 --- RemoteManager.xinfo 13 Feb 2004 14:38:33 -0000 1.5.4.1 +++ RemoteManager.xinfo 18 Feb 2004 21:47:27 -0000 1.5.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.remotemanager.RemoteManagerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.MailStore" version="1.0"/> No revision Index: RemoteManager.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/remotemanager/RemoteManager.xinfo,v retrieving revision 1.5.4.1 retrieving revision 1.5.4.2 diff -u -r1.5.4.1 -r1.5.4.2 --- RemoteManager.xinfo 13 Feb 2004 14:38:33 -0000 1.5.4.1 +++ RemoteManager.xinfo 18 Feb 2004 21:47:27 -0000 1.5.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.remotemanager.RemoteManagerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.MailStore" version="1.0"/> No revision Index: RemoteManager.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/remotemanager/RemoteManager.xinfo,v retrieving revision 1.5.4.1 retrieving revision 1.5.4.2 diff -u -r1.5.4.1 -r1.5.4.2 --- RemoteManager.xinfo 13 Feb 2004 14:38:33 -0000 1.5.4.1 +++ RemoteManager.xinfo 18 Feb 2004 21:47:27 -0000 1.5.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.remotemanager.RemoteManagerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.james.services.MailStore" version="1.0"/> 1.1.2.1 +103 -0 james-server/src/java/org/apache/james/remotemanager/Attic/RemoteManagerMBean.java No revision No revision 1.17.4.8 +1 -1 james-server/src/java/org/apache/james/smtpserver/SMTPServer.java Index: SMTPServer.java =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/smtpserver/SMTPServer.java,v retrieving revision 1.17.4.7 retrieving revision 1.17.4.8 diff -u -r1.17.4.7 -r1.17.4.8 --- SMTPServer.java 29 May 2003 04:42:51 -0000 1.17.4.7 +++ SMTPServer.java 18 Feb 2004 21:47:27 -0000 1.17.4.8 @@ -94,7 +94,7 @@ * IMPORTANT: SMTPServer extends AbstractJamesService. If you implement ANY * lifecycle methods, you MUST call super.<method> as well. */ -public class SMTPServer extends AbstractJamesService implements Component { +public class SMTPServer extends AbstractJamesService implements Component, SMTPServerMBean { /** * The mailet context - we access it here to set the hello name for the Mailet API 1.5.4.2 +5 -0 james-server/src/java/org/apache/james/smtpserver/SMTPServer.xinfo Index: SMTPServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/smtpserver/SMTPServer.xinfo,v retrieving revision 1.5.4.1 retrieving revision 1.5.4.2 diff -u -r1.5.4.1 -r1.5.4.2 --- SMTPServer.xinfo 13 Feb 2004 14:38:33 -0000 1.5.4.1 +++ SMTPServer.xinfo 18 Feb 2004 21:47:27 -0000 1.5.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.smtpserver.SMTPServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.mailet.MailetContext" version="1.0"/> No revision Index: SMTPServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/smtpserver/SMTPServer.xinfo,v retrieving revision 1.5.4.1 retrieving revision 1.5.4.2 diff -u -r1.5.4.1 -r1.5.4.2 --- SMTPServer.xinfo 13 Feb 2004 14:38:33 -0000 1.5.4.1 +++ SMTPServer.xinfo 18 Feb 2004 21:47:27 -0000 1.5.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.smtpserver.SMTPServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.mailet.MailetContext" version="1.0"/> No revision Index: SMTPServer.xinfo =================================================================== RCS file: /home/cvs/james-server/src/java/org/apache/james/smtpserver/SMTPServer.xinfo,v retrieving revision 1.5.4.1 retrieving revision 1.5.4.2 diff -u -r1.5.4.1 -r1.5.4.2 --- SMTPServer.xinfo 13 Feb 2004 14:38:33 -0000 1.5.4.1 +++ SMTPServer.xinfo 18 Feb 2004 21:47:27 -0000 1.5.4.2 @@ -12,6 +12,11 @@ <service name="org.apache.avalon.framework.component.Component" version="1.0"/> </services> + <!-- interfaces that may be exported to manange this block --> + <management-access-points> + <service name="org.apache.james.smtpserver.SMTPServerMBean"/> + </management-access-points> + <dependencies> <dependency> <service name="org.apache.mailet.MailetContext" version="1.0"/> 1.1.2.1 +101 -0 james-server/src/java/org/apache/james/smtpserver/Attic/SMTPServerMBean.java No revision No revision 1.1.2.1 +26 -0 james-server/tools/lib/Attic/LICENSE.xdoclet.txt 1.1.2.1 +93 -0 james-server/tools/lib/Attic/commons-logging.jar <<Binary file>> 1.1.2.1 +324 -0 james-server/tools/lib/Attic/log4j-core.jar <<Binary file>> 1.1.2.1 +544 -0 james-server/tools/lib/Attic/xdoclet-20020825.jar <<Binary file>> 1.1.2.1 +752 -0 james-server/tools/lib/Attic/xjavadoc-20020825.jar <<Binary file>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]