1 7 8 package org.enhydra.admin; 9 10 import com.lutris.appserver.server.*; 11 import com.lutris.appserver.server.httpPresentation.*; 12 import com.lutris.appserver.server.session.*; 13 import com.lutris.util.*; 14 import com.lutris.logging.Logger; 15 16 import org.enhydra.admin.spec.business.*; 17 18 23 public class SimpleCacheAdmin extends StandardApplication { 24 25 public MBeanTrigger mBeanTrigger = null; 26 30 public void startup(Config appConfig) throws ApplicationException { 31 super.startup(appConfig); 32 mBeanTrigger = MBeanTriggerFactory.createMBeanTrigger(); 33 if (logChannel != null) { 34 logChannel.write(Logger.INFO, 35 "Welcome to the Simple Cache Admin application!"); 36 } 37 } 40 public boolean requestPreprocessor(HttpPresentationComms comms) 41 throws Exception { 42 return super.requestPreprocessor(comms); 43 } 44 45 53 public String toHtml() { 54 return "This is <I>SimpleCacheAdmin</I>"; 55 } 56 } 57 58 | Popular Tags |