gpt4 book ai didi

org.springframework.instrument.classloading.WeavingTransformer.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-24 14:53:05 25 4
gpt4 key购买 nike

本文整理了Java中org.springframework.instrument.classloading.WeavingTransformer.<init>()方法的一些代码示例,展示了WeavingTransformer.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WeavingTransformer.<init>()方法的具体详情如下:
包路径:org.springframework.instrument.classloading.WeavingTransformer
类名称:WeavingTransformer
方法名:<init>

WeavingTransformer.<init>介绍

[英]Create a new WeavingTransformer for the given class loader.
[中]为给定的类装入器创建一个新的WeavingTransformer。

代码示例

代码示例来源:origin: spring-projects/spring-framework

/**
 * Create a new SimpleInstrumentableClassLoader for the given ClassLoader.
 * @param parent the ClassLoader to build an instrumentable ClassLoader for
 */
public SimpleInstrumentableClassLoader(@Nullable ClassLoader parent) {
  super(parent);
  this.weavingTransformer = new WeavingTransformer(parent);
}

代码示例来源:origin: org.springframework/spring-context

/**
 * Create a new SimpleInstrumentableClassLoader for the given ClassLoader.
 * @param parent the ClassLoader to build an instrumentable ClassLoader for
 */
public SimpleInstrumentableClassLoader(@Nullable ClassLoader parent) {
  super(parent);
  this.weavingTransformer = new WeavingTransformer(parent);
}

代码示例来源:origin: org.springframework/spring-instrument-tomcat

/**
 * Create a new {@code TomcatInstrumentableClassLoader} using the
 * current context class loader.
 * @see #TomcatInstrumentableClassLoader(ClassLoader)
 */
public TomcatInstrumentableClassLoader() {
  super();
  this.weavingTransformer = new WeavingTransformer(this);
}

代码示例来源:origin: org.springframework/spring-instrument-tomcat

/**
 * Create a new {@code TomcatInstrumentableClassLoader} with the
 * supplied class loader as parent.
 * @param parent the parent {@link ClassLoader} to be used
 */
public TomcatInstrumentableClassLoader(ClassLoader parent) {
  super(parent);
  this.weavingTransformer = new WeavingTransformer(this);
}

代码示例来源:origin: org.springframework/spring-instrument-classloading

/**
 * Create a new <code>TomcatInstrumentableClassLoader</code> using the
 * current context class loader.
 * @see #TomcatInstrumentableClassLoader(ClassLoader)
 */
public TomcatInstrumentableClassLoader() {
  super();
  this.weavingTransformer = new WeavingTransformer(this);
}

代码示例来源:origin: org.springframework/spring-tomcat-weaver

/**
 * Create a new <code>TomcatInstrumentableClassLoader</code> using the
 * current context class loader.
 * @see #TomcatInstrumentableClassLoader(ClassLoader)
 */
public TomcatInstrumentableClassLoader() {
  super();
  this.weavingTransformer = new WeavingTransformer(this);
}

代码示例来源:origin: org.springframework/spring-tomcat-weaver

/**
 * Create a new <code>TomcatInstrumentableClassLoader</code> with the
 * supplied class loader as parent.
 * @param parent the parent {@link ClassLoader} to be used
 */
public TomcatInstrumentableClassLoader(ClassLoader parent) {
  super(parent);
  this.weavingTransformer = new WeavingTransformer(this);
}

代码示例来源:origin: org.springframework/spring-instrument-classloading

/**
 * Create a new <code>TomcatInstrumentableClassLoader</code> with the
 * supplied class loader as parent.
 * @param parent the parent {@link ClassLoader} to be used
 */
public TomcatInstrumentableClassLoader(ClassLoader parent) {
  super(parent);
  this.weavingTransformer = new WeavingTransformer(this);
}

代码示例来源:origin: apache/servicemix-bundles

/**
 * Create a new SimpleInstrumentableClassLoader for the given ClassLoader.
 * @param parent the ClassLoader to build an instrumentable ClassLoader for
 */
public SimpleInstrumentableClassLoader(@Nullable ClassLoader parent) {
  super(parent);
  this.weavingTransformer = new WeavingTransformer(parent);
}

代码示例来源:origin: org.kuali.rice/rice-core-api

public ShadowingInstrumentableClassLoader(ClassLoader enclosingClassLoader, String[] excludedPackages) {
  if (enclosingClassLoader == null) {
    throw new IllegalArgumentException("Enclosing ClassLoader must not be null");
  }
  this.weavingTransformer = new WeavingTransformer(this);
  this.enclosingClassLoader = enclosingClassLoader;
  for (String defaultExcludedPackage : DEFAULT_EXCLUDES) {
    excludePackage(defaultExcludedPackage);
  }
  if (excludedPackages != null) {
    for (String excludedPackage : excludedPackages) {
      excludePackage(excludedPackage);
    }
  }
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com