Examples of BaseType


Examples of com.caucho.config.reflect.BaseType

  public void fireEvent(Object event, Annotation... bindings)
  {
    if (log.isLoggable(Level.FINEST))
      log.finest(this + " fireEvent " + event);

    BaseType eventType = createBaseType(event.getClass());

    fireEventImpl(event, eventType, bindings);
  }
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

    resolveObserverMethods(T event, Annotation... qualifiers)
  {
    HashSet<ObserverMethod<? super T>> set
      = new HashSet<ObserverMethod<? super T>>();

    BaseType eventType = createBaseType(event.getClass());
   
    for (Annotation qualifier : qualifiers) {
      if (! isQualifier(qualifier.annotationType()))
        throw new IllegalArgumentException(L.l("{0} is not a valid qualifier because it is missing a @Qualifier annotation",
                                               qualifier));
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

      observerList = _observerListCache.get(cl);

      if (observerList == null) {
        observerList = new ArrayList<ObserverMap>();

        BaseType eventType = createClassBaseType(cl);

        fillLocalObserverList(_observerMap, observerList, eventType);

        _observerListCache.put(cl, observerList);
      }
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

  private void fireLocalEvent(HashMap<Class<?>,ObserverMap> localMap,
                              Object event, Annotation... bindings)
  {
    // ioc/0062 - class with type-param handled specially
    BaseType eventType = createClassBaseType(event.getClass());

    fireLocalEvent(localMap, event, eventType, bindings);
  }
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

  /**
   * Adds a new decorator
   */
  public <X> BeanManager addDecorator(Decorator<X> decorator)
  {
    BaseType baseType = createBaseType(decorator.getDelegateType());

    _decoratorList.add(new DecoratorEntry<X>(decorator, baseType));

    return this;
  }
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

  private boolean isTypeContained(Set<Type> types,
                                  BaseType delegateType)
  {
    for (Type type : types) {
      BaseType baseType = createBaseType(type);

      if (delegateType.isAssignableFrom(baseType))
        return true;
    }
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

  private <T> void processAnnotatedType(AnnotatedType<T> type)
  {
    ProcessAnnotatedTypeImpl<T> processType
      = new ProcessAnnotatedTypeImpl<T>(type);

    BaseType baseType = createBaseType(ProcessAnnotatedTypeImpl.class);
    baseType = baseType.fill(createBaseType(type.getBaseType()));
   
    fireExtensionEvent(processType, baseType);

    if (processType.isVeto()) {
      return;
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

        Set<Annotation> annSet = observer.getObservedQualifiers();

        Annotation []bindings = new Annotation[annSet.size()];
        annSet.toArray(bindings);

        BaseType baseType = createBaseType(observer.getObservedEventType());

        addObserver(observer, baseType, bindings);
      }
    }
  }
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

        Set<Annotation> annSet = observer.getObservedQualifiers();

        Annotation []bindings = new Annotation[annSet.size()];
        annSet.toArray(bindings);

        BaseType baseType = createBaseType(observer.getObservedEventType());

        addObserver(observer, baseType, bindings);
      }
    }
View Full Code Here

Examples of com.caucho.config.reflect.BaseType

    */
  }

  public Set<Bean<?>> resolve(Type type, Annotation []bindings)
  {
    BaseType baseType = _beanManager.createBaseType(type);

    return resolve(baseType, bindings);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.