1 package com.quikj.application.web.talk.feature.proactive.server; 2 3 import java.io.*; 4 import com.quikj.server.web.*; 5 6 public class ProactivePluginApp implements PluginAppInterface 7 { 8 private ProactiveServiceController controller = null; 9 10 public ProactivePluginApp() 11 { 12 } 13 14 public boolean applicationInit(PluginParameters params) 15 { 16 try 17 { 18 controller = new ProactiveServiceController(); 19 controller.start(); 20 } 21 catch (IOException ex) 22 { 23 } 25 return true; 26 } 27 28 public String getApplicationName() 29 { 30 return "PROACTIVE"; 31 } 32 33 public String getApplicationDescription() 34 { 35 return "This application monitors user activity in a web site"; 36 } 37 38 public PluginAppClientInterface newInstance() 39 { 40 return (new ProactivePluginAppClient()); 41 } 42 43 public void dispose() 44 { 45 if (controller != null) 46 { 47 controller.dispose(); 48 controller = null; 49 } 50 } 51 } 52 | Popular Tags |