C# 클래스 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
파일 보기 프로젝트 열기: BlogTalkRadio/Roque 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
DoExecute ( Job job ) : void

비공개 메소드들

메소드 설명
GetTarget ( string targetTypeName, bool ifNotFoundUseEventProxy = false ) : Target
InvokeTarget ( Job job ) : void

메소드 상세

DoExecute() 보호된 메소드

protected DoExecute ( Job job ) : void
job Job
리턴 void

Execute() 공개 메소드

public Execute ( Job job ) : void
job Job
리턴 void

GetEventArgsType() 공개 정적인 메소드

public static GetEventArgsType ( EventInfo eventType ) : Type
eventType System.Reflection.EventInfo
리턴 System.Type

RegisterSubscriber() 공개 메소드

public RegisterSubscriber ( object subscriber, string sourceQueue = null, string queue = null ) : void
subscriber object
sourceQueue string
queue string
리턴 void

RegisterSubscribersForWorker() 공개 메소드

public RegisterSubscribersForWorker ( Cinchcast.Roque.Core.Worker worker ) : void
worker Cinchcast.Roque.Core.Worker
리턴 void