Packageorg.spicefactory.parsley.core.context.impl
Classpublic class DefaultLookupStatus
InheritanceDefaultLookupStatus Inheritance Object
Implements LookupStatus

Default implementation of the LookupStatus interface.



Public Methods
 MethodDefined By
  
DefaultLookupStatus(instance:Object = null)
Creates a new instance, adding the specified object.
DefaultLookupStatus
  
addInstance(instance:Object):Boolean
Adds the specified instance to this lookup object.
DefaultLookupStatus
Constructor Detail
DefaultLookupStatus()Constructor
public function DefaultLookupStatus(instance:Object = null)

Creates a new instance, adding the specified object.

Parameters
instance:Object (default = null) — the first instance this lookup object should remember
Method Detail
addInstance()method
public function addInstance(instance:Object):Boolean

Adds the specified instance to this lookup object. When the method returns true, the addition succeeded. Returning false means that the same instance was already added to this object.

Parameters

instance:Object — the instance to add to this lookup object

Returns
Boolean — true, it the addition succeeded, false, if the same instance was already added to this object