public ContextControllerPartitioned(int pathId, ContextControllerLifecycleCallback activationCallback, ContextControllerPartitionedFactoryImpl factory)
 {
     _lock               = new object();
     _pathId             = pathId;
     _activationCallback = activationCallback;
     _factory            = factory;
 }
예제 #2
0
 public ContextControllerCategory(
     int pathId,
     ContextControllerLifecycleCallback activationCallback,
     ContextControllerCategoryFactory factory)
 {
     PathId = pathId;
     _activationCallback = activationCallback;
     _factory            = factory;
 }
예제 #3
0
        public ContextControllerInitTerm(int pathId, ContextControllerLifecycleCallback lifecycleCallback, ContextControllerInitTermFactoryImpl factory)
        {
            _pathId            = pathId;
            ActivationCallback = lifecycleCallback;
            _factory           = factory;

            var contextDetail = factory.ContextDetail as ContextDetailInitiatedTerminated;

            if (contextDetail != null && contextDetail.DistinctExpressions != null && contextDetail.DistinctExpressions.Length > 0)
            {
                _distinctContexts   = new Dictionary <Object, EventBean>();
                _distinctEvaluators = ExprNodeUtility.GetEvaluators(contextDetail.DistinctExpressions);
            }
        }
예제 #4
0
 public override ContextController CreateNoCallback(int pathId, ContextControllerLifecycleCallback callback)
 {
     return(new ContextControllerInitTerm(pathId, callback, this));
 }
 public abstract ContextController CreateNoCallback(int pathId, ContextControllerLifecycleCallback callback);
예제 #6
0
 public ContextControllerHash(int pathId, ContextControllerLifecycleCallback activationCallback, ContextControllerHashFactoryImpl factory)
 {
     _pathId             = pathId;
     _activationCallback = activationCallback;
     _factory            = factory;
 }
예제 #7
0
 public override ContextController CreateNoCallback(int pathId, ContextControllerLifecycleCallback callback)
 {
     return new ContextControllerHash(pathId, callback, this);
 }
 public ContextControllerPartitioned(int pathId, ContextControllerLifecycleCallback activationCallback, ContextControllerPartitionedFactory factory)
 {
     _pathId             = pathId;
     _activationCallback = activationCallback;
     _factory            = factory;
 }