01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tctest.service;
06:
07: public interface DirectoryMonitorMBean {
08: public void setScanRate(long rate);
09:
10: public long getScanRate();
11:
12: public void setDirectory(String dir);
13:
14: public String getDirectory();
15:
16: public void setExtensionList(String list);
17:
18: public String getExtensionList();
19:
20: // life cycles
21: public void start();
22:
23: public void stop();
24:
25: public boolean isStarted();
26: }
|