Package ortus.boxlang.runtime.components
Class BoxLangComponentProxy
java.lang.Object
ortus.boxlang.runtime.components.Component
ortus.boxlang.runtime.components.BoxLangComponentProxy
This is a Component that is used to proxy from a BoxLang Class to a Java method
-
Nested Class Summary
Nested classes/interfaces inherited from class ortus.boxlang.runtime.components.Component
Component.BodyResult, Component.ComponentBody -
Field Summary
Fields inherited from class ortus.boxlang.runtime.components.Component
componentService, declaredAttributes, DEFAULT_RETURN, functionService, interceptorService, logger, name, runtime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_invoke(IBoxContext context, IStruct attributes, Component.ComponentBody body, IStruct executionState) Invoke the Component with the given arguments.Get the target BoxLang BIF class we proxy tosetTarget(IClassRunnable target) Set the target BoxLang BIF class we proxy toMethods inherited from class ortus.boxlang.runtime.components.Component
announce, getDeclaredAttributes, getName, invoke, processBody, processBody, setName, validateAttributes
-
Constructor Details
-
BoxLangComponentProxy
Constructor -
BoxLangComponentProxy
public BoxLangComponentProxy()Constructor
-
-
Method Details
-
getTarget
Get the target BoxLang BIF class we proxy to- Returns:
- the target
-
setTarget
Set the target BoxLang BIF class we proxy to- Parameters:
target- the target to set
-
_invoke
public Component.BodyResult _invoke(IBoxContext context, IStruct attributes, Component.ComponentBody body, IStruct executionState) Description copied from class:ComponentInvoke the Component with the given arguments. This is the actual method that must be implemented by the component.
-