| Package | org.spicefactory.parsley.core.context.provider |
| Interface | public interface ObjectProvider |
ObjectDefinitionRegistry.createObjectProvider.
A simple wrapper for an existing instance can be obtained with
Provider.forInstance.
| Property | Defined By | ||
|---|---|---|---|
| instance : Object [read-only]
The actual instance. | ObjectProvider | ||
| type : ClassInfo [read-only]
The type of the instance. | ObjectProvider | ||
| instance | property |
instance:Object [read-only] The actual instance. May be null if it is a lazy initializing provider.
public function get instance():Object| type | property |
type:ClassInfo [read-only] The type of the instance. This property must be set even if the actual instance does not exist yet.
public function get type():ClassInfo