Ah! I see,
 
thanks for clearing that up Chad
 
:-)
----- Original Message -----
Sent: Monday, February 24, 2003 4:56 PM
Subject: Re: [JBoss-user] MBean interfaces not found in Scheduler examples source?

Hey Brian,
 
This interface is generated by XDoclet during the build process.  If you look at the javadoc comments in the SchedulableMBeanExample, you'll see that it has the " @jmx:mbean extends="org.jboss.system.ServiceMBean", this "@jmx:mbean" tag tells XDoclet to generate the interface for this MBean (which is ScheduableMBeanExampleMBean) and the "extends" attribute tells XDoclet to generate this interface extending "org.jboss.system.ServiceMBean". 
 
Chad
----- Original Message -----
----- Original Message -----
Sent: Monday, February 24, 2003 11:37 AM
Subject: [JBoss-user] MBean interfaces not found in Scheduler examples source?

Hi all,
 
I've downloaded the JBoss source - jboss3.2.0RC2-src.tgz - 
to check out how to use the Scheduler examples.
 
Two things - firstly, when I try to build from the source using the .bat
file I get loads of errors.
 
But anyway, when I looked at the examples for running Schedulable
services I got a bit confused. The scheduler-service.xml file in
/server/default/deploy shows two classes which use the JBoss
scheduler service. These two classes are:
 
org.jboss.varia.scheduler.example.SchedulableExample and
org.jboss.varia.scheduler.example.SchedulableMBeanExample
 
The SchedulableMBeanExample class declares that it implements
the interface SchedulableMBeanExampleMBean.
 
public class SchedulableMBeanExample
    extends ServiceMBeanSupport
    implements SchedulableMBeanExampleMBean
 
However I can't find this interface anywhere in the source code.
Does this interface exist? If so, could someone tell me the
package structure - the import statements don't include
that interface at the top of the class, and it's not in the
same package, so I'm a bit confused.
 
thanks,
Brian

Reply via email to