java.lang.ClassLoader.clearAssertionStatus()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(149)

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

ClassLoader.clearAssertionStatus介绍

[英]Sets the default assertion status for this class loader to falseand removes any package default and class assertion status settings.

Note: This method does nothing in the Android reference implementation.
[中]将此类加载器的默认断言状态设置为false,并删除任何包默认和类断言状态设置。
注意:此方法在Android参考实现中不起任何作用。

代码示例

代码示例来源:origin: PipelineAI/pipeline

public void clearAssertionStatus() {
    delegate.clearAssertionStatus();
  }
}

代码示例来源:origin: apache/nifi

@Override
public void clearAssertionStatus() {
  lookupClassLoader().clearAssertionStatus();
}

代码示例来源:origin: stackoverflow.com

parent.clearAssertionStatus();

代码示例来源:origin: com.google.code.maven-play-plugin.com.kjetland/gt-engine

@Override
  public void clearAssertionStatus() {
    super.clearAssertionStatus();
  }
}

代码示例来源:origin: DirectProject/nhin-d

/**
 * {@inheritDoc}
 */
@Override
public synchronized void clearAssertionStatus() 
{
  for(ClassLoader loader : classLoaders)
    loader.clearAssertionStatus();
  
  for(ClassLoader loader : resourceLoaders)
    loader.clearAssertionStatus();		
}

代码示例来源:origin: com.atlassian.plugins/atlassian-plugins-core

@Override
public synchronized void clearAssertionStatus() {
  for (ClassLoader classloader : classLoaders) {
    classloader.clearAssertionStatus();
  }
}

代码示例来源:origin: com.sap.cloud.servicesdk.prov/odata-core

@Override
public synchronized void clearAssertionStatus() {
  for (ClassLoader cl : classLoaders) {
    cl.clearAssertionStatus();
  }
}

代码示例来源:origin: com.atlassian.plugins.rest/atlassian-rest-module

@Override
public synchronized void clearAssertionStatus() {
  for (ClassLoader classloader : classLoaders) {
    classloader.clearAssertionStatus();
  }
}

代码示例来源:origin: Silverpeas/Silverpeas-Core

@Override
public synchronized void clearAssertionStatus() {
 super.clearAssertionStatus();
}

代码示例来源:origin: com.atlassian.plugins/atlassian-plugins-core

public synchronized void clearAssertionStatus() {
    delegateClassLoader.clearAssertionStatus();
  }
}

代码示例来源:origin: org.apache.struts.xwork/xwork-core

public void clearAssertionStatus() {
  delegate.clearAssertionStatus();
}

代码示例来源:origin: gridkit/nanocloud

public void clearAssertionStatus() {
  baseClassloader.clearAssertionStatus();
}

代码示例来源:origin: org.ow2.jonas/jonas-commons

/**
 * @see java.lang.ClassLoader#clearAssertionStatus()
 */
public synchronized void clearAssertionStatus() {
  getContextClassLoader().clearAssertionStatus();
}

代码示例来源:origin: org.objectweb.jonas/jonas-commons

/**
 * @see java.lang.ClassLoader#clearAssertionStatus()
 */
public synchronized void clearAssertionStatus() {
  getContextClassLoader().clearAssertionStatus();
}

代码示例来源:origin: org.jboss.ironjacamar/ironjacamar-core-impl

/**
* {@inheritDoc}
*/
@Override 
public void clearAssertionStatus()
{
 super.clearAssertionStatus();
 if (resourceAdapterClassLoader != null)
   resourceAdapterClassLoader.clearAssertionStatus();
}

代码示例来源:origin: apache/nifi-minifi

@Override
public void clearAssertionStatus() {
  lookupClassLoader().clearAssertionStatus();
}

代码示例来源:origin: org.apache.openjpa/openjpa-osgi

/**
 * Sets the default assertion status for this class loader to
 * <tt>false</tt> and discards any package defaults or class assertion
 * on all contained class loaders.
 *
 * @see ClassLoader#clearAssertionStatus()
 */
@Override
public synchronized void clearAssertionStatus() {
  for (ClassLoader classLoader : getClassLoaders()) {
    classLoader.clearAssertionStatus();
  }
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.osgi

/**
 * Sets the default assertion status for this class loader to
 * <tt>false</tt> and discards any package defaults or class assertion
 * on all contained class loaders.
 * 
 * @see  ClassLoader#clearAssertionStatus()
 */
@Override
public synchronized void clearAssertionStatus() {
  for (ClassLoader classLoader : getClassLoaders()) {
    classLoader.clearAssertionStatus();
  }
}

代码示例来源:origin: org.apache.nifi.minifi/minifi-nar-utils

@Override
public void clearAssertionStatus() {
  lookupClassLoader().clearAssertionStatus();
}

代码示例来源:origin: com.centit.support/centit-utils

logger.error(e.getLocalizedMessage());
}finally {
  loader.clearAssertionStatus();

相关文章