Examples of ClassLoaderReference


Examples of com.sun.jdi.ClassLoaderReference

          //showJarsUsed();
        }
    }
   
    void loadClassDebug(ReferenceType rt, ThreadReference thr) {
      ClassLoaderReference clr = rt.classLoader();
      if(clr==null) return; //don't deal with bootstrap classloader
     
      try {
      String classLoaderClassName = clr.referenceType().name();
      IntegerValue vHashCode = (IntegerValue) simpleInvokeVMMethod(thr, clr, "hashCode");
      String iHashCode = Integer.toHexString(vHashCode.value());

      classJarsDebug(rt, thr, clr, classLoaderClassName, iHashCode);
      classloaderGetParentDebug(thr, clr, classLoaderClassName, iHashCode);
View Full Code Here

Examples of com.sun.jdi.ClassLoaderReference

   * @see org.eclipse.jdt.debug.core.IJavaReferenceType#getClassLoaderObject()
   */
  public IJavaObject getClassLoaderObject() throws DebugException {
    try {
      ReferenceType type = (ReferenceType) getUnderlyingType();
      ClassLoaderReference classLoader = type.classLoader();
      if (classLoader != null) {
        return (IJavaObject) JDIValue.createValue(getJavaDebugTarget(),
            classLoader);
      }
    } catch (RuntimeException e) {
View Full Code Here

Examples of com.sun.jdi.ClassLoaderReference

    if (fArgumentTypes != null) {
      return fArgumentTypes;
    }
    List<Type> result = new ArrayList<Type>();
    Iterator<String> iter = argumentTypeSignatures().iterator();
    ClassLoaderReference classLoaderRef = declaringType().classLoader();
    VirtualMachineImpl vm = virtualMachineImpl();
    while (iter.hasNext()) {
      String argumentTypeSignature = iter.next();
      result.add(TypeImpl.create(vm, argumentTypeSignature, classLoaderRef));
    }
View Full Code Here

Examples of com.thoughtworks.xstream.core.ClassLoaderReference

     * @param reflectionProvider the reflection provider to use or <em>null</em> for best matching Provider
     * @param hierarchicalStreamDriver the driver instance
     * @throws InitializationException in case of an initialization problem
     */
    public XStream(final ReflectionProvider reflectionProvider, final HierarchicalStreamDriver hierarchicalStreamDriver) {
        this(reflectionProvider, hierarchicalStreamDriver, new ClassLoaderReference(new CompositeClassLoader()));
    }
View Full Code Here

Examples of com.thoughtworks.xstream.core.ClassLoaderReference

     */
    @Deprecated
    public XStream(
            final ReflectionProvider reflectionProvider, final HierarchicalStreamDriver driver,
            final ClassLoader classLoader, final Mapper mapper) {
        this(reflectionProvider, driver, new ClassLoaderReference(classLoader), mapper, new DefaultConverterLookup());
    }
View Full Code Here

Examples of com.thoughtworks.xstream.core.ClassLoaderReference

    @Deprecated
    public XStream(
            final ReflectionProvider reflectionProvider, final HierarchicalStreamDriver driver,
            final ClassLoader classLoader, final Mapper mapper, final ConverterLookup converterLookup,
            final ConverterRegistry converterRegistry) {
        this(reflectionProvider, driver, new ClassLoaderReference(classLoader), mapper, converterLookup,
            converterRegistry);
    }
View Full Code Here

Examples of com.thoughtworks.xstream.core.ClassLoaderReference

    /**
     * @deprecated As of 1.4.5 use {@link #JavaFieldConverter(ClassLoaderReference)}
     */
    @Deprecated
    public JavaFieldConverter(final ClassLoader classLoader) {
        this(new ClassLoaderReference(classLoader));
    }
View Full Code Here

Examples of com.thoughtworks.xstream.core.ClassLoaderReference

    /**
     * @deprecated As of 1.4.5 use {@link #JavaMethodConverter(ClassLoaderReference)}
     */
    @Deprecated
    public JavaMethodConverter(final ClassLoader classLoader) {
        this(new ClassLoaderReference(classLoader));
    }
View Full Code Here

Examples of com.thoughtworks.xstream.core.ClassLoaderReference

     * @deprecated As of 1.4.5 use {@link #SerializableConverter(Mapper, ReflectionProvider, ClassLoaderReference)}
     */
    @Deprecated
    public SerializableConverter(
            final Mapper mapper, final ReflectionProvider reflectionProvider, final ClassLoader classLoader) {
        this(mapper, reflectionProvider, new ClassLoaderReference(classLoader));
    }
View Full Code Here

Examples of com.thoughtworks.xstream.core.ClassLoaderReference

    /**
     * @deprecated As of 1.4 use {@link #SerializableConverter(Mapper, ReflectionProvider, ClassLoaderReference)}
     */
    @Deprecated
    public SerializableConverter(final Mapper mapper, final ReflectionProvider reflectionProvider) {
        this(mapper, new UnserializableParentsReflectionProvider(reflectionProvider), new ClassLoaderReference(null));
    }
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.