| Package | com.bourre.ioc.assembler.plugins |
| Class | public class PluginExpert |
| Inheritance | PluginExpert AbstractLocator |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Plugin object.
| Method | Defined by | ||
|---|---|---|---|
![]() |
add(d:Dictionary):void
Adds all ressources contained in the passed-in dictionnary
into this locator instance.
| AbstractLocator | |
![]() |
addEventListener(type:String, listener:Object, ... rest):Boolean
Adds an event listener for the specified event type.
| AbstractLocator | |
![]() |
callMethodOnAllValues(methodName:String, ... args):void
Takes all values of a Locator and call on each value the method name
passed as 1st argument.
| AbstractLocator | |
|
[static]
Returns unique instance of PluginExpert class.
| PluginExpert | ||
![]() |
getKeys():Array
Returns an
Array view of the keys contained in this locator. | AbstractLocator | |
![]() |
Returns the exclusive logger object owned by this locator.
| AbstractLocator | |
![]() |
getType():Class
Return the class type of elements in this container.
| AbstractLocator | |
![]() |
getValues():Array
Returns an
Array view of the values contained in this locator. | AbstractLocator | |
![]() |
isRegistered(name:String):Boolean
Returns
true is there is a ressource associated
with the passed-in key. | AbstractLocator | |
![]() |
isTyped():Boolean
Returns
true if this container perform a verification
of the type of elements. | AbstractLocator | |
![]() |
locate(name:String):Object
Returns the ressource associated with the passed-in
key. | AbstractLocator | |
![]() |
matchType(o:*):Boolean
Verify that the passed-in object type match the current
container element's type.
| AbstractLocator | |
|
notifyAllPlugins():void
Notifies all registered plugins that IoC process
is finished.
| PluginExpert | ||
|
notifyPlugin(id:String):void
Notifies registered plugins that IoC process
is finished.
| PluginExpert | ||
![]() |
processOnAllValues(f:Function, ... args):void
Takes all values of a Locator and pass them one by one as arguments
to a method of an object.
| AbstractLocator | |
![]() |
register(name:String, o:Object):Boolean
Registers passed-in object with identifier name to this locator.
| AbstractLocator | |
|
release():void
[static]
Release instance.
| PluginExpert | ||
![]() |
removeEventListener(type:String, listener:Object):Boolean
Removes the passed-in listener for listening the specified event.
| AbstractLocator | |
![]() |
toString():String
Returns the string representation of this instance.
| AbstractLocator | |
![]() |
unregister(name:String):Boolean
Unregisters object registered with identifier name.
| AbstractLocator | |
| getInstance | () | method |
public static function getInstance():PluginExpert
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns unique instance of PluginExpert class.
ReturnsPluginExpert |
| notifyAllPlugins | () | method |
public function notifyAllPlugins():void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Notifies all registered plugins that IoC process is finished.
Batch processing throw all registered plugins>
Locator is release after process.
See also
| notifyPlugin | () | method |
public function notifyPlugin(id:String):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Notifies registered plugins that IoC process is finished.
Parametersid:String |
| release | () | method |
public static function release():void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Release instance.