public CallbackInvokerKey(Net.Vpc.Upa.CallbackType callbackType, Net.Vpc.Upa.ObjectType objectType, string name, bool system) { this.callbackType = callbackType; this.objectType = objectType; this.system = system; this.name = name; }
public DefaultCallback(object o, System.Reflection.MethodInfo m, Net.Vpc.Upa.CallbackType callbackType, Net.Vpc.Upa.EventPhase phase, Net.Vpc.Upa.ObjectType objectType, Net.Vpc.Upa.Impl.Config.Callback.MethodArgumentsConverter converter, System.Collections.Generic.IDictionary <string, object> configuration) { this.converter = converter; this.instance = o; this.method = m; this.objectType = objectType; this.callbackType = callbackType; this.configuration = configuration; this.phase = phase; }
public UpdateObjectEventCallback(object o, System.Reflection.MethodInfo m, Net.Vpc.Upa.CallbackType callbackType, Net.Vpc.Upa.EventPhase phase, Net.Vpc.Upa.ObjectType objectType, Net.Vpc.Upa.Impl.Config.Callback.MethodArgumentsConverter converter, System.Collections.Generic.IDictionary <string, object> configuration) : base(o, m, callbackType, phase, objectType, converter, configuration) { }
public virtual System.Collections.Generic.IList <Net.Vpc.Upa.Callback> GetCallbacks(Net.Vpc.Upa.CallbackType callbackType, Net.Vpc.Upa.ObjectType objectType, string nameFilter, bool system, bool preparedOnly, Net.Vpc.Upa.EventPhase phase) { return(callbackManager.GetCallbacks(callbackType, objectType, nameFilter, system, preparedOnly, phase)); }
public virtual System.Collections.Generic.IList <Net.Vpc.Upa.Callback> GetCallbackPostInvokers(Net.Vpc.Upa.CallbackType callbackType, Net.Vpc.Upa.ObjectType objectType, string nameFilter, bool system) { return(GetEffectiveCallbacks(callbackType, objectType, nameFilter, system, false, Net.Vpc.Upa.EventPhase.AFTER)); }
public virtual System.Collections.Generic.IList <Net.Vpc.Upa.PreparedCallback> GetPostPreparedCallbacks(Net.Vpc.Upa.CallbackType callbackType, Net.Vpc.Upa.ObjectType objectType, string nameFilter, bool system, Net.Vpc.Upa.EventPhase phase) { Net.Vpc.Upa.Impl.Util.CallbackInvokerKey k = new Net.Vpc.Upa.Impl.Util.CallbackInvokerKey(callbackType, objectType, nameFilter, system); System.Collections.Generic.IList <Net.Vpc.Upa.PreparedCallback> found = new System.Collections.Generic.List <Net.Vpc.Upa.PreparedCallback>(); System.Collections.Generic.IDictionary <Net.Vpc.Upa.Impl.Util.CallbackInvokerKey, System.Collections.Generic.IList <Net.Vpc.Upa.PreparedCallback> > list = this.preparedAfter; System.Collections.Generic.IList <Net.Vpc.Upa.PreparedCallback> ss = Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <Net.Vpc.Upa.Impl.Util.CallbackInvokerKey, System.Collections.Generic.IList <Net.Vpc.Upa.PreparedCallback> >(list, k); if (ss != null) { Net.Vpc.Upa.Impl.FwkConvertUtils.ListAddRange(found, ss); } if (nameFilter != null) { Net.Vpc.Upa.Impl.FwkConvertUtils.ListAddRange(found, GetPostPreparedCallbacks(callbackType, objectType, null, system, phase)); } if (!system) { Net.Vpc.Upa.Impl.FwkConvertUtils.ListAddRange(found, GetPostPreparedCallbacks(callbackType, objectType, null, true, phase)); } return(found); }
public virtual System.Collections.Generic.IList <Net.Vpc.Upa.Callback> GetCallbackEffectiveInvokers(Net.Vpc.Upa.CallbackType callbackType, Net.Vpc.Upa.ObjectType objectType, string nameFilter, bool system, Net.Vpc.Upa.EventPhase phase) { System.Collections.Generic.IList <Net.Vpc.Upa.Callback> allCallbacks = callbackManager.GetCallbacks(callbackType, objectType, nameFilter, system, false, phase); Net.Vpc.Upa.Impl.FwkConvertUtils.ListAddRange(allCallbacks, new System.Collections.Generic.List <Net.Vpc.Upa.Callback>(group.GetContext().GetCallbacks(callbackType, objectType, nameFilter, system, false, phase))); return(allCallbacks); }
public virtual Net.Vpc.Upa.Callback[] GetCallbacks(Net.Vpc.Upa.CallbackType nameFilter, Net.Vpc.Upa.ObjectType objectType, string name, bool system, bool preparedOnly, Net.Vpc.Upa.EventPhase phase) { System.Collections.Generic.IList <Net.Vpc.Upa.Callback> callbackInvokers = listeners.GetCallbacks(nameFilter, objectType, name, system, preparedOnly, phase); return(callbackInvokers.ToArray()); }