railo.runtime
Class ComponentPage

java.lang.Object
  extended by railo.runtime.Page
      extended by railo.runtime.PagePlus
          extended by railo.runtime.ComponentPage
All Implemented Interfaces:
Serializable

public abstract class ComponentPage
extends PagePlus

A Page that can produce Components

See Also:
Serialized Form

Field Summary
static Collection.Key METHOD
           
static Collection.Key QUERY_FORMAT
           
static Collection.Key REMOTE_PERSISTENT_ID
           
 
Fields inherited from class railo.runtime.PagePlus
metaData
 
Fields inherited from class railo.runtime.Page
FALSE, TRUE
 
Constructor Summary
ComponentPage()
           
 
Method Summary
 void call(PageContext pc)
          method to invoke a page
 void ckecked()
           
static String convertResult(PageContext pc, Component component, String methodName, Object returnFormat, Object queryFormat, Object rtn)
           
abstract  void initComponent(PageContext pc, ComponentImpl c)
           
static boolean isSoap(PageContext pc)
           
 long lastCheck()
           
abstract  ComponentImpl newInstance(PageContext pc, String callPath, boolean isRealPath)
           
static Struct translate(Component c, String strMethod, Struct params)
           
 
Methods inherited from class railo.runtime.PagePlus
getImportDefintions, getPageSource
 
Methods inherited from class railo.runtime.Page
getCompileTime, getLoadType, getSourceLastModified, getVersion, setLoadType, setPageSource, threadCall, udfCall, udfDefaultValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD

public static final Collection.Key METHOD

QUERY_FORMAT

public static final Collection.Key QUERY_FORMAT

REMOTE_PERSISTENT_ID

public static final Collection.Key REMOTE_PERSISTENT_ID
Constructor Detail

ComponentPage

public ComponentPage()
Method Detail

newInstance

public abstract ComponentImpl newInstance(PageContext pc,
                                          String callPath,
                                          boolean isRealPath)
                                   throws PageException
Throws:
PageException

call

public void call(PageContext pc)
          throws PageException
Description copied from class: Page
method to invoke a page

Overrides:
call in class PagePlus
Parameters:
pc - PageContext
Throws:
PageException
See Also:
Page.call(railo.runtime.PageContext)

isSoap

public static boolean isSoap(PageContext pc)

convertResult

public static String convertResult(PageContext pc,
                                   Component component,
                                   String methodName,
                                   Object returnFormat,
                                   Object queryFormat,
                                   Object rtn)
                            throws ConverterException,
                                   PageException
Throws:
ConverterException
PageException

translate

public static Struct translate(Component c,
                               String strMethod,
                               Struct params)

initComponent

public abstract void initComponent(PageContext pc,
                                   ComponentImpl c)
                            throws PageException
Throws:
PageException

ckecked

public void ckecked()

lastCheck

public long lastCheck()


Copyright © 2012 Railo