testbox.system.modules.cbstreams.models.proxies

Class BaseProxy

lucee.Component
    extended by testbox.system.modules.cbstreams.models.proxies.BaseProxy
Direct Known Subclasses:
BiFunction , Comparator , Consumer , Function , Predicate , Runnable , Supplier , ToDoubleFunction , ToIntFunction , ToLongFunction , UnaryOperator

Functional interface base dynamically compiled via dynamic proxy

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any target
          The target function to be applied via dynamic proxy to the required Java interface(s).

    • access = public
    • returntype = any
    true false
    Constructor Summary
    init(any target)
          Constructor.
    Method Summary
    any getCFMLContext()
         This function is used for the engine to compile the page context bif into the page scope.
    any getCurrentThread()
         Get the current thread instance.
    any getCurrentThreadName()
         Get the current Thread name.
    string getTarget()
    boolean inStreamThread()
         Check if you are in cfthread or not for any CFML Engine.
    boolean isContextLoaded()
         Verify if context is loaded or not.
    any loadContext()
         Ability to load the context into the running thread.
    any println(any text)
         Out helper for debugging, else all is in vanity.
    any setTarget(any target)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init(any target)

    Constructor

    Parameters:
    target - The target function to be applied via dynamic proxy to the required Java interface(s)

    Property Detail

    target

    property any target

    The target function to be applied via dynamic proxy to the required Java interface(s)

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    getCFMLContext

    public any getCFMLContext()

    This function is used for the engine to compile the page context bif into the page scope


    getCurrentThread

    public any getCurrentThread()

    Get the current thread instance

    Returns:
    java.lang.Thread

    getCurrentThreadName

    public any getCurrentThreadName()

    Get the current Thread name


    getTarget

    public string getTarget()


    inStreamThread

    public boolean inStreamThread()

    Check if you are in cfthread or not for any CFML Engine


    isContextLoaded

    public boolean isContextLoaded()

    Verify if context is loaded or not


    loadContext

    public any loadContext()

    Ability to load the context into the running thread


    println

    public any println(any text)

    Out helper for debugging, else all is in vanity

    Parameters:
    text - true

    setTarget

    public any setTarget(any target)

    Parameters:
    target