Package com.sun.enterprise.loader

Examples of com.sun.enterprise.loader.InstrumentableClassLoader


    this(ClassUtils.getDefaultClassLoader());
  }

  public GlassFishLoadTimeWeaver(ClassLoader classLoader) {
    Assert.notNull(classLoader, "ClassLoader must not be null");
    InstrumentableClassLoader icl = determineClassLoader(classLoader);
    if (icl == null) {
      throw new IllegalArgumentException(classLoader + " and its parents are not suitable ClassLoaders: " +
          "An [" + InstrumentableClassLoader.class.getName() + "] implementation is required.");
    }
    this.classLoader = icl;
View Full Code Here


        Result result = getInitializedResult();
        result.setStatus(Result.PASSED);
        PersistenceProvider provider;
        final String appLocation =
                getVerifierContext().getAbstractArchive().getArchiveUri();
        final InstrumentableClassLoader cl =
                InstrumentableClassLoader.class.cast(pu.getClassLoader());
        PersistenceUnitInfo pi = new AVKPersistenceUnitInfoImpl(pu, appLocation, cl);
        logger.fine("PersistenceInfo for PU is :\n" + pi);
        Properties props = new Properties();
        // This property is set to indicate that TopLink should only
View Full Code Here

        // but won't execute DDLs themselves.
        // As part of the normal application load we would set this property to a
        // value of "NONE".
        overrides.put(providerPropertyNamesHolder.ddlGenerationMode, DDL_SQL_SCRIPT_GENERATION);

        final InstrumentableClassLoader cl =
                InstrumentableClassLoader.class.cast(
                    persistenceUnitDescriptor.getClassLoader());
        PersistenceUnitInfo pi = new Java2DBPersistenceUnitInfoImpl(
                persistenceUnitDescriptor,
                appDeployedLocation,
View Full Code Here

   * @throws IllegalArgumentException if the supplied <code>classLoader</code> is <code>null</code>;
   * or if the supplied <code>classLoader</code> is not an {@link InstrumentableClassLoader}
   */
  public GlassFishLoadTimeWeaver(ClassLoader classLoader) {
    Assert.notNull(classLoader, "ClassLoader must not be null");
    InstrumentableClassLoader icl = determineClassLoader(classLoader);
    if (icl == null) {
      throw new IllegalArgumentException(classLoader + " and its parents are not suitable ClassLoaders: " +
          "An [" + InstrumentableClassLoader.class.getName() + "] implementation is required.");
    }
    this.classLoader = icl;
View Full Code Here

TOP

Related Classes of com.sun.enterprise.loader.InstrumentableClassLoader

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.