Table of contents
- 1 Constructors
- 2 Properties
- 3 Methods
- 3.1 SetUpProperties(Object instance, CreationContext context)
- 3.2 CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context, Type[] signature) : Object[]
- 3.3 CanSatisfyDependency(CreationContext context, DependencyModel dep) : Boolean
- 3.4 SelectEligibleConstructor(CreationContext context) : ConstructorCandidate
- 3.5 ApplyConcerns(Object[] steps, Object instance)
- 3.6 ApplyDecommissionConcerns(Object instance)
- 3.7 ApplyCommissionConcerns(Object instance)
- 3.8 CreateInstance(CreationContext context, Object[] arguments, Type[] signature) : Object
- 3.9 Instantiate(CreationContext context) : Object
- 3.10 Destroy(Object instance)
- 3.11 Create(CreationContext context) : Object
- 3.12 InternalDestroy(Object instance)
- 3.13 InternalCreate(CreationContext context) : Object
DefaultComponentActivator API Document
Standard implementation of Castle.MicroKernel.IComponentActivator. Handles the selection of the best constructor, fills the writable properties the component exposes, run the commission and decommission lifecycles, etc.
Quick Note
Custom implementors can just override the CreateInstance method. Please note however that the activator is responsible for the proxy creation when needed.
Constructors
DefaultComponentActivator(ComponentModel model, IKernel kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction)
Missing summary
| Parameter | Description |
|---|---|
| model | Missing documentation |
| kernel | Missing documentation |
| onCreation | Missing documentation |
| onDestruction | Missing documentation |
Properties
| Name | Type | Description |
|---|---|---|
| Kernel | IKernel | |
| Model | ComponentModel | |
| OnCreation | ComponentInstanceDelegate | |
| OnDestruction | ComponentInstanceDelegate |
Methods
SetUpProperties(Object instance, CreationContext context)
Missing summary
| Parameter | Description |
|---|---|
| instance | Missing documentation |
| context | Missing documentation |
CreateConstructorArguments(ConstructorCandidate constructor, CreationContext context, Type[] signature) : Object[]
Missing summary
| Parameter | Description |
|---|---|
| constructor | Missing documentation |
| context | Missing documentation |
| signature | Missing documentation |
CanSatisfyDependency(CreationContext context, DependencyModel dep) : Boolean
Missing summary
| Parameter | Description |
|---|---|
| context | Missing documentation |
| dep | Missing documentation |
SelectEligibleConstructor(CreationContext context) : ConstructorCandidate
Missing summary
| Parameter | Description |
|---|---|
| context | Missing documentation |
ApplyConcerns(Object[] steps, Object instance)
Missing summary
| Parameter | Description |
|---|---|
| steps | Missing documentation |
| instance | Missing documentation |
ApplyDecommissionConcerns(Object instance)
Missing summary
| Parameter | Description |
|---|---|
| instance | Missing documentation |
ApplyCommissionConcerns(Object instance)
Missing summary
| Parameter | Description |
|---|---|
| instance | Missing documentation |
CreateInstance(CreationContext context, Object[] arguments, Type[] signature) : Object
Missing summary
| Parameter | Description |
|---|---|
| context | Missing documentation |
| arguments | Missing documentation |
| signature | Missing documentation |
Instantiate(CreationContext context) : Object
Missing summary
| Parameter | Description |
|---|---|
| context | Missing documentation |
Destroy(Object instance)
| Parameter | Description |
|---|---|
| instance | Missing documentation |
Create(CreationContext context) : Object
| Parameter | Description |
|---|---|
| context | Missing documentation |
InternalDestroy(Object instance)
Missing summary
| Parameter | Description |
|---|---|
| instance | Missing documentation |
InternalCreate(CreationContext context) : Object
Missing summary
| Parameter | Description |
|---|---|
| context | Missing documentation |