User: d_jencks Date: 02/02/28 10:00:32 Added: src/main/test/implementation/modelmbean/support/xml User.xml Log: changed to use new xmbean dtd, and provided User.xml sample generated from xdoclet jboss xmbean task (available in xdoclet 1.1.2) Revision Changes Path 1.1 jmx/src/main/test/implementation/modelmbean/support/xml/User.xml Index: User.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBean 1.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd"> <mbean> <description><![CDATA[sample for jboss xmbean.dtd]]></description> <class>test.implementation.modelmbean.support.User</class> <descriptors> <persistence persistPolicy="Never" persistPeriod="10" persistLocation="pl1" persistName="JBossXMLExample1"/> <currencyTimeLimit value="10"/> <state-action-on-update value="RESTART"/> <descriptor name="testdescriptor" value="testvalue"/> </descriptors> <constructor> <description><![CDATA[Creates a new <code>User</code> instance using constructor with one argument.]]></description> <name>test.implementation.modelmbean.support.User</name> <parameter> <description><![CDATA[a <code>long</code> value]]></description> <name>id</name> <type>long</type> </parameter> </constructor> <constructor> <description><![CDATA[Creates a new <code>User</code> using constructor with no argument]]></description> <name>test.implementation.modelmbean.support.User</name> </constructor> <!--attributes--> <attribute access="READ_WRITE" getMethod="getID"> <description><![CDATA[Describe <code>getID</code> method here. read-only attribute]]></description> <name>ID</name> <type>long</type> <descriptors> <persistence persistPolicy="Never" persistPeriod="30"/> <currencyTimeLimit value="30"/> </descriptors> </attribute> <attribute access="READ_WRITE" getMethod="getName" setMethod="setName"> <description><![CDATA[Describe <code>getName</code> method here. read-write attribute]]></description> <name>Name</name> <type>java.lang.String</type> <descriptors> <persistence persistPolicy="Never" persistPeriod="30"/> <currencyTimeLimit value="30"/> </descriptors> </attribute> <attribute access="READ_WRITE" getMethod="getAddress" setMethod="setAddress"> <description><![CDATA[Describe <code>getAddress</code> method here. read-write attribute]]></description> <name>Address</name> <type>java.lang.String</type> <descriptors> <persistence persistPolicy="Never" persistPeriod="30"/> <currencyTimeLimit value="30"/> </descriptors> </attribute> <attribute access="READ_WRITE" getMethod="getPhoneNumbers" setMethod="setPhoneNumbers"> <description><![CDATA[Describe <code>getPhoneNumbers</code> method here. read-write attribute]]></description> <name>PhoneNumbers</name> <type>java.lang.String[]</type> <descriptors> <persistence persistPolicy="Never" persistPeriod="30"/> <currencyTimeLimit value="30"/> </descriptors> </attribute> <attribute access="READ_WRITE" setMethod="setPassword"> <description><![CDATA[Describe <code>setPassword</code> method here. write only attribute]]></description> <name>Password</name> <type>java.lang.String</type> <descriptors> <persistence persistPolicy="Never" persistPeriod="30"/> <currencyTimeLimit value="30"/> </descriptors> </attribute> <!--operations --> <operation> <description><![CDATA[Describe <code>printInfo</code> method here. prints info]]></description> <name>printInfo</name> <return-type>java.lang.String</return-type> </operation> <operation> <description><![CDATA[Describe <code>addPhoneNumber</code> method here.]]></description> <name>addPhoneNumber</name> <parameter> <description><![CDATA[a <code>String</code> value, the phone number to add]]></description> <name>number</name> <type>java.lang.String</type> </parameter> <return-type>void</return-type> </operation> <operation> <description><![CDATA[Describe <code>removePhoneNumber</code> method here.]]></description> <name>removePhoneNumber</name> <parameter> <description><![CDATA[an <code>int</code> value, the index of phone number to remove]]></description> <name>index</name> <type>int</type> </parameter> <return-type>void</return-type> </operation> <!--notifications --> <notification> <description><![CDATA[first notification]]></description> <name>javax.management.SomeEvent</name> <notification-type>xd.example.first</notification-type> <notification-type>xd.example.second</notification-type> <descriptors> <persistence persistPolicy="Never" persistPeriod="20" persistLocation="pl2" persistName="JBossXMLExample2" /> <currencyTimeLimit value="20"/> </descriptors> </notification> </mbean>
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development