Transfer version 1.1

transfer.com.dynamic
Class MethodInjector

WEB-INF.cftags.component
        extended by transfer.com.dynamic.MethodInjector

public class MethodInjector
extends WEB-INF.cftags.component

Injects methods into CFCs


Constructor Summary
init()
          Constructor
 
Method Summary
 any injectMethod(any CFC, any UDF)
          Injects a method into a CFC
 void injectMethodMixin(any UDF)
          [mixin, removed at init] - injects a method into the CFC scope
 void removeMethod(any CFC, string UDFName)
          Take a public Method off a CFC
 void removeMethodMixin(string UDFName)
          [mixin, removed at init] - injects a method into the CFC scope
 void start(any CFC)
          start method injection set
 void stop(any CFC)
          stop injection block
private any throw(string type, string message, [string detail=''])
          Throws an Exception
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init()
Constructor

Method Detail

injectMethod

public any injectMethod(any CFC, any UDF)
Injects a method into a CFC

Parameters:
CFC - The cfc to inject the method into
UDF - UDF to be checked

injectMethodMixin

public void injectMethodMixin(any UDF)
[mixin, removed at init] - injects a method into the CFC scope

Parameters:
UDF - UDF to be checked

removeMethod

public void removeMethod(any CFC, string UDFName)
Take a public Method off a CFC

Parameters:
CFC - The cfc to inject the method into
UDFName - Name of the UDF to be removed

removeMethodMixin

public void removeMethodMixin(string UDFName)
[mixin, removed at init] - injects a method into the CFC scope

Parameters:
UDFName - Name of the UDF to be removed

start

public void start(any CFC)
start method injection set

Parameters:
CFC - The cfc to inject the method into

stop

public void stop(any CFC)
stop injection block

Parameters:
CFC - The cfc to inject the method into

throw

private any throw(string type, string message, [string detail=''])
Throws an Exception

Parameters:
type - The type of exception
message - The message to accompany the exception
detail - The detail message for the exception

Transfer version 1.1