KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > server > TCServer


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.server;
5
6 import com.tc.config.schema.L2Info;
7
8 public interface TCServer {
9   void setActivationListener(TCServerActivationListener listener);
10
11   void start() throws Exception JavaDoc;
12
13   void stop();
14
15   boolean isStarted();
16
17   boolean isActive();
18
19   boolean isStopped();
20
21   long getStartTime();
22
23   long getActivateTime();
24
25   void shutdown();
26
27   String JavaDoc getDescriptionOfCapabilities();
28   
29   L2Info[] infoForAllL2s();
30 }
31
Popular Tags