railo.runtime.gateway
Class GatewayEntryImpl

java.lang.Object
  extended by railo.runtime.gateway.GatewayEntryImpl
All Implemented Interfaces:
GatewayEntry

public class GatewayEntryImpl
extends Object
implements GatewayEntry


Field Summary
 
Fields inherited from interface railo.runtime.gateway.GatewayEntry
STARTUP_MODE_AUTOMATIC, STARTUP_MODE_DISABLED, STARTUP_MODE_MANUAL
 
Constructor Summary
GatewayEntryImpl(GatewayEnginePro engine, String id, String className, String cfcPath, String listenerCfcPath, String startupMode, Struct custom, boolean readOnly)
           
 
Method Summary
 void createGateway(Config config)
           
 boolean equals(Object obj)
           
 String getCfcPath()
           
 String getClassName()
           
 Struct getCustom()
           
 GatewayPro getGateway()
           
 String getId()
           
 String getListenerCfcPath()
           
 int getStartupMode()
           
 boolean isReadOnly()
           
static String toStartup(int mode, String defautValue)
           
static int toStartup(String strMode, int defaultValue)
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatewayEntryImpl

public GatewayEntryImpl(GatewayEnginePro engine,
                        String id,
                        String className,
                        String cfcPath,
                        String listenerCfcPath,
                        String startupMode,
                        Struct custom,
                        boolean readOnly)
Method Detail

createGateway

public void createGateway(Config config)
                   throws ClassException,
                          PageException
Specified by:
createGateway in interface GatewayEntry
Throws:
ClassException
PageException

getGateway

public GatewayPro getGateway()
Specified by:
getGateway in interface GatewayEntry

getId

public String getId()
Specified by:
getId in interface GatewayEntry
Returns:
the id

getCustom

public Struct getCustom()
Specified by:
getCustom in interface GatewayEntry
Returns:
the custom

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface GatewayEntry
Returns:
the readOnly

getListenerCfcPath

public String getListenerCfcPath()
Specified by:
getListenerCfcPath in interface GatewayEntry
Returns:
the cfcPath

getCfcPath

public String getCfcPath()
Specified by:
getCfcPath in interface GatewayEntry

getClassName

public String getClassName()
Specified by:
getClassName in interface GatewayEntry
Returns:
the className

getStartupMode

public int getStartupMode()
Specified by:
getStartupMode in interface GatewayEntry
Returns:
the startupMode

toStartup

public static String toStartup(int mode,
                               String defautValue)

toStartup

public static int toStartup(String strMode,
                            int defaultValue)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012 Railo