C# Class Cinchcast.Roque.Core.Executor

Executes a Job by invoking a method in a service class. - If job target type is an interface castle windsor container is used to obtain a service. - Job retries are supported by using the RetryOnAttribute or throwing a ShouldRetryException
Afficher le fichier Open project: BlogTalkRadio/Roque Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( Job job ) : void
GetEventArgsType ( EventInfo eventType ) : Type
RegisterSubscriber ( object subscriber, string sourceQueue = null, string queue = null ) : void
RegisterSubscribersForWorker ( Cinchcast.Roque.Core.Worker worker ) : void

Méthodes protégées

Méthode Description
DoExecute ( Job job ) : void

Private Methods

Méthode Description
GetTarget ( string targetTypeName, bool ifNotFoundUseEventProxy = false ) : Target
InvokeTarget ( Job job ) : void

Method Details

DoExecute() protected méthode

protected DoExecute ( Job job ) : void
job Job
Résultat void

Execute() public méthode

public Execute ( Job job ) : void
job Job
Résultat void

GetEventArgsType() public static méthode

public static GetEventArgsType ( EventInfo eventType ) : Type
eventType System.Reflection.EventInfo
Résultat System.Type

RegisterSubscriber() public méthode

public RegisterSubscriber ( object subscriber, string sourceQueue = null, string queue = null ) : void
subscriber object
sourceQueue string
queue string
Résultat void

RegisterSubscribersForWorker() public méthode

public RegisterSubscribersForWorker ( Cinchcast.Roque.Core.Worker worker ) : void
worker Cinchcast.Roque.Core.Worker
Résultat void