Home

Castle Stronghold

IKernelEvents API Document

Summary description for IKernelEvents.

Events

ComponentRegistered:ComponentDataDelegate(String key, IHandler handler)

Event fired when a new component is registered on the kernel.

ParameterDescription
key Missing documentation
handler Missing documentation

ComponentUnregistered:ComponentDataDelegate(String key, IHandler handler)

Event fired when a component is removed from the kernel.

ParameterDescription
key Missing documentation
handler Missing documentation

ComponentModelCreated:ComponentModelDelegate(ComponentModel model)

Event fired after the ComponentModel is created. Allows customizations that may affect the handler.

ParameterDescription
model Missing documentation

AddedAsChildKernel:System.EventHandler()

Event fired when the kernel was added as child of another kernel.

RemovedAsChildKernel:System.EventHandler()

Event fired when the kernel was removed from being a child of another kernel.

ComponentCreated:ComponentInstanceDelegate(ComponentModel model, Object instance)

Event fired before the component is created.

ParameterDescription
model Missing documentation
instance Missing documentation

ComponentDestroyed:ComponentInstanceDelegate(ComponentModel model, Object instance)

Event fired when a component instance destroyed.

ParameterDescription
model Missing documentation
instance Missing documentation

HandlerRegistered:HandlerDelegate(IHandler handler, Boolean stateChanged)

Event fired when a new handler is registered (it might be in a valid or waiting dependency state)

ParameterDescription
handler Missing documentation
stateChanged Missing documentation

DependencyResolving:DependencyDelegate(ComponentModel client, DependencyModel model, Object dependency)

Event fired when a dependency is being resolved, it allows the dependency to be changed, but the client ComponentModel must not be altered.

ParameterDescription
client Missing documentation
model Missing documentation
dependency Missing documentation

Google
Search WWW Search castleproject.org