01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.test.server.appserver.deployment;
05:
06: import java.util.Map;
07:
08: import javax.management.MBeanServerConnection;
09:
10: public interface Server extends Stoppable {
11: public Server restart() throws Exception;
12:
13: public Object getProxy(Class serviceType, String url)
14: throws Exception;
15:
16: public Object getProxy(Class serviceType, String url,
17: Map initialContext) throws Exception;
18:
19: public MBeanServerConnection getMBeanServerConnection()
20: throws Exception;
21: }
|