01: //$Id: ControllerServiceMBean.java 667 2006-04-25 08:01:58Z hengels $
02: package org.concern.controller.jmx;
03:
04: import org.concern.Controller;
05: import org.concern.ControllerException;
06:
07: /**
08: * @see ControllerService
09: * @author hengels
10: */
11: public interface ControllerServiceMBean extends Controller {
12: /**
13: * Create the <tt>Controller</tt> and bind to the jndi name on startup
14: */
15: public void start() throws ControllerException;
16:
17: /**
18: * Unbind the <tt>SessionFactory</tt> or stub from JNDI
19: */
20: public void stop();
21:
22: String getJndiName();
23:
24: void setJndiName(String jndiName);
25:
26: String getTransactionManagerJndiName();
27:
28: void setTransactionManagerJndiName(String transactionManagerJndiName);
29:
30: String getSessionFactoryJndiName();
31:
32: void setSessionFactoryJndiName(String sessionFactoryJndiName);
33:
34: long getTimerInterval();
35:
36: void setTimerInterval(long timerInterval);
37:
38: void setResourceLocatorClassName(String name);
39:
40: String getResourceLocatorClassName();
41:
42: String getProcessDescription();
43:
44: void setProcessDescription(String processDescription);
45:
46: String getParameterResolverClassName();
47:
48: void setParameterResolverClassName(String parameterResolverClassName);
49: }
|