|
ValidateThis API Documentation | ||||
| FRAMES | |||||
WEB-INF.cftags.component
ValidateThis.util.BaseConfigObject
ValidateThis.util.BeanConfig
public class BeanConfig
A LightWire configuration bean.
| Constructor Summary | |
|---|---|
init(any ValidateThisConfig)
I initialize the config bean |
|
| Method Summary | |
|---|---|
void |
addBean(string FullClassPath, [string BeanName=''], any Singleton, [string InitMethod=''])
I extend the base addBean Method injecting strings from the VTConfig struct into the constructor |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Constructor Detail |
|---|
public init(any ValidateThisConfig)
ValidateThisConfig| Method Detail |
|---|
public void addBean(string FullClassPath, [string BeanName=''], any Singleton, [string InitMethod=''])
addBean
in class
BaseConfigObject
FullClassPath - The full class path to the bean including its name. E.g. for com.UserService.cfc it would be com.UserService.BeanName - An optional name to be able to use to refer to this bean. If you don't provide this, the name of the bean will be used as a default. E.g. for com.UserService, it'll be named UserService unless you put something else here. If you put UserS, it'd be available as UserS, but NOT as UserService.Singleton - Whether the bean is a Singleton (1) or Transient(0).InitMethod - A default custom initialization method for LightWire to call on the bean after constructing it fully (including setter and mixin injection) but before returning it.
|
ValidateThis API Documentation | ||||
| FRAMES | |||||