WEB-INF.cftags.component coldbox.system.web.services.BaseService coldbox.system.web.services.PluginService
The coldbox plugin service
Constructor Summary | |
---|---|
init(any controller)
Constructor. |
Method Summary | |
---|---|
void
|
afterInstanceAutowire([any event], [any interceptData])
Called by wirebox once instances are autowired. |
void
|
configure()
|
any
|
get(any plugin, any custom, [any module=''], [any init='true'])
Get a new/cached plugin instance. |
any
|
getCustomPluginsExternalPath()
Get the base invocation path where external custom convention plugins exist. |
any
|
getCustomPluginsPath()
Get the base invocation path where custom convention plugins exist. |
string
|
getCustomPluginsPhysicalPath()
Get the physical path where custom convention plugins exist. |
any
|
getExtensionsPath()
Get the base invocation path where extension plugins exist. |
any
|
getExtensionsPhysicalPath()
Get the physical path where extension plugins exist. |
private any
|
locatePluginPath(any plugin, any custom, [any module=''])
Locate a full plugin instantiation path from the requested plugin name. |
any
|
new(any plugin, any<Boolean> custom, [any module=''], [any<Boolean> init='true'])
Create a New Plugin Instance whether it is core or custom. |
void
|
setCustomPluginsExternalPath(any customPluginsExternalPath)
Set customPluginsExternalPath. |
void
|
setCustomPluginsPath(any customPluginsPath)
Set CorePluginsPath. |
void
|
setCustomPluginsPhysicalPath(any customPluginsPhysicalPath)
Set customPluginsPhysicalPath. |
void
|
setExtensionsPath(any extensionsPath)
Set ExtensionsPath. |
void
|
setExtensionsPhysicalPath(any extensionsPhysicalPath)
Set ExtensionsPhysicalPath. |
private any
|
wireboxSetup()
Verifies the setup for plugin classes is online. |
Methods inherited from class coldbox.system.web.services.BaseService |
---|
convertToColdBox, getColdboxOCM, getController, getUtil, isFamilyType, onConfigurationLoad, onShutdown, setController |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
Constructor
controller
Method Detail |
---|
Called by wirebox once instances are autowired
event
interceptData
Get a new/cached plugin instance
plugin
- The name (classpath) of the plugin to create. We will search for it.custom
- Custom plugin or coldbox plugin Booleanmodule
- The module to retrieve the plugin frominit
- Auto init() the plugin upon construction. BooleanGet the base invocation path where external custom convention plugins exist.
Get the base invocation path where custom convention plugins exist.
Get the physical path where custom convention plugins exist.
Get the base invocation path where extension plugins exist.
Get the physical path where extension plugins exist.
Locate a full plugin instantiation path from the requested plugin name
plugin
- The plugin to validate the path on.custom
- Whether its a custom plugin or not. Booleanmodule
- The module to retrieve the plugin fromCreate a New Plugin Instance whether it is core or custom
plugin
- The name (classpath) of the plugin to createcustom
- Custom plugin or coldbox plugin: Booleanmodule
- The module to retrieve the plugin frominit
- Auto init() the plugin upon construction: BooleanSet customPluginsExternalPath
customPluginsExternalPath
Set CorePluginsPath
customPluginsPath
Set customPluginsPhysicalPath
customPluginsPhysicalPath
Set ExtensionsPath
extensionsPath
Set ExtensionsPhysicalPath
extensionsPhysicalPath
Verifies the setup for plugin classes is online