01: package com.caucho.management.server;
02:
03: import com.caucho.jmx.Description;
04: import com.caucho.jmx.Units;
05:
06: /**
07: * Interface for a rewrite rule.
08: *
09: * <pre>
10: * resin:type=RewriteImport,name=...
11: * </pre>
12: */
13: @Description("A rewrite rule that imports rules from an xml file")
14: public interface RewriteImportMXBean extends ManagedObjectMXBean {
15: @Description("The configured millisecond interval between checks for the need to redeploy")
16: @Units("milliseconds")
17: public long getDependencyCheckInterval();
18:
19: @Description("The error that ocurred during the last redeploy, if any")
20: public String getRedeployError();
21:
22: @Description("The current lifecycle state")
23: public String getState();
24:
25: @Description("Enables the imported rules")
26: public void start();
27:
28: @Description("Disables the imported rules")
29: public void stop();
30:
31: @Description("Updates the imported rules if the file has changed")
32: public void update();
33: }
|