From: Julien V. <coo...@us...> - 2003-03-13 12:11:42
|
User: cooperfbi Date: 03/03/13 04:11:40 Modified: nukes/src/main/org/jboss/nukes/core/modules/html HtmlModule.java Log: o converted module & block mbeans into xmbeans o on Theme renammed themeHeader()->header(), themeFooter()->footer() Revision Changes Path 1.10 +17 -2 nukes/nukes/src/main/org/jboss/nukes/core/modules/html/HtmlModule.java Index: HtmlModule.java =================================================================== RCS file: /cvsroot/jboss/nukes/nukes/src/main/org/jboss/nukes/core/modules/html/HtmlModule.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- HtmlModule.java 11 Mar 2003 15:47:36 -0000 1.9 +++ HtmlModule.java 13 Mar 2003 12:11:40 -0000 1.10 @@ -36,12 +36,16 @@ import bsh.EvalError; /** + * @jmx.mbean + * name="nukes.modules:name=html" + * @jboss.xmbean + * + * * @author <a href="mailto:jul...@ya...">Julien Viet</a> - * @version $Revision: 1.9 $ + * @version $Revision: 1.10 $ */ public class HtmlModule extends Module - implements HtmlModuleMBean { // Constants ----------------------------------------------------- @@ -76,6 +80,9 @@ // Constructors -------------------------------------------------- + /** + * @jmx.managed-constructor + */ public HtmlModule() { super("html"); @@ -728,6 +735,9 @@ // HtmlModuleMBean implementation -------------------------------- /** + * @jmx.managed-attribute + * access="read-write" + * * Returns number of item to display per page. * @return the number of item to display per page */ @@ -737,6 +747,8 @@ } /** + * @jmx.managed-attribute + * * Change the number of item to display per page. * @param sizePerPage the number of item to display per page */ @@ -748,6 +760,9 @@ } } + /** + * @jmx.managed-operation + */ public void flushCache() { cache.clear(); |