Common Methods

The following chart shows you the most common methods when dealing with the WireBox Injector. This doesn't mean there are no other methods on the Injector that are of value, so please check out the CFC Docs for more in-depth knowledge.

// A method you can use to send objects to get autowired by convention or mapping lookups
autowire(target,[mapping],[targetID],[annotationCheck]) </td>

// A utility method that clears all the singletons from the singleton persistence scope. Great to do in development.

// Checks if an instance can be created by this Injector or not

// Get the configuration binder for this injector

// The main method that asks the injector for an object instance by name or by autowire DSL string.

// Retrieve the ColdBox object populator that can populate objects from JSON, XML, structures and much more.

// Get a reference to the parent injector (if any)

// Get a reference to a registered persistence scope

// Set a parent injector into the target injector to create hierarchies

results matching ""

    No results matching ""