001 package railo.runtime.gateway; 002 003 import org.opencfml.eventgateway.Gateway; 004 005 import railo.commons.lang.ClassException; 006 import railo.runtime.config.Config; 007 import railo.runtime.exp.PageException; 008 import railo.runtime.type.Struct; 009 010 public interface GatewayEntry { 011 012 013 public static int STARTUP_MODE_AUTOMATIC = 1; 014 public static int STARTUP_MODE_MANUAL = 2; 015 public static int STARTUP_MODE_DISABLED = 4; 016 017 018 /** 019 * @return the gateway 020 * @throws ClassException 021 * @throws PageException 022 */ 023 public void createGateway(Config config) throws ClassException,PageException; 024 025 public Gateway getGateway() ; 026 027 028 /** 029 * @return the id 030 */ 031 public abstract String getId(); 032 033 034 //public abstract Class getClazz(); 035 036 /** 037 * @return the custom 038 */ 039 public abstract Struct getCustom(); 040 041 /** 042 * @return the readOnly 043 */ 044 public abstract boolean isReadOnly(); 045 046 047 /** 048 * @return the cfcPath 049 */ 050 public String getListenerCfcPath(); 051 052 public String getCfcPath(); 053 054 /** 055 * @return the startupMode 056 */ 057 public int getStartupMode(); 058 059 060 public String getClassName(); 061 062 063 }