Package br.gov.frameworkdemoiselle.internal.bootstrap

Examples of br.gov.frameworkdemoiselle.internal.bootstrap.CoreBootstrap


    return handled;
  }

  private final Class<?> getType(final Object target) {
    Class<?> type = target.getClass();
    CoreBootstrap bootstrap = Beans.getReference(CoreBootstrap.class);

    if (!bootstrap.isAnnotatedType(type)) {
      getLogger().debug(
          getBundle().getString("proxy-detected", type,
              type.getSuperclass()));
      type = type.getSuperclass();
    }
View Full Code Here


   *            config object
   * @throws ConfigurationException
   */
  public void load(Object object) throws ConfigurationException {
    Class<?> config = object.getClass();
    CoreBootstrap bootstrap = Beans.getReference(CoreBootstrap.class);

    if (!bootstrap.isAnnotatedType(config)) {
      config = config.getSuperclass();
      getLogger().debug(getBundle().getString("proxy-detected", config, config.getClass().getSuperclass()));
    }

    getLogger().debug(getBundle().getString("loading-configuration-class", config.getName()));
View Full Code Here

    return handled;
  }

  private final Class<?> getType(final InvocationContext ic) {
    Class<?> type = ic.getTarget().getClass();
    CoreBootstrap bootstrap = Beans.getReference(CoreBootstrap.class);

    if (!bootstrap.isAnnotatedType(type)) {
      type = type.getSuperclass();
      getLogger().debug(
          getBundle().getString("proxy-detected", ic.getTarget().getClass(),
              ic.getTarget().getClass().getSuperclass()));
    }
View Full Code Here

TOP

Related Classes of br.gov.frameworkdemoiselle.internal.bootstrap.CoreBootstrap

Copyright © 2018 www.massapicom. 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.