gpt4 book ai didi

mx4j.tools.adaptor.http.XSLTProcessor.setUseCache()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 06:03:05 28 4
gpt4 key购买 nike

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

XSLTProcessor.setUseCache介绍

暂无

代码示例

代码示例来源:origin: org.mule.modules/mule-module-management

protected HttpAdaptor createAdaptor() throws Exception
{
  Log.redirectTo(new CommonsLogger());
  URI uri = new URI(StringUtils.stripToEmpty(jmxAdaptorUrl));
  adaptor = new HttpAdaptor(uri.getPort(), uri.getHost());
  XSLTProcessor processor = new XSLTProcessor();
  if (StringUtils.isNotBlank(xslFilePath))
  {
    processor.setFile(xslFilePath.trim());
  }
  if (StringUtils.isNotBlank(pathInJar))
  {
    processor.setPathInJar(pathInJar.trim());
  }
  processor.setUseCache(cacheXsl);
  adaptor.setProcessor(processor);
  // Set endpoint authentication if required
  if (login != null)
  {
    adaptor.addAuthorization(login, password);
    adaptor.setAuthenticationMethod(authenticationMethod);
  }
  if (socketFactoryProperties != null && !socketFactoryProperties.isEmpty())
  {
    SSLAdaptorServerSocketFactoryMBean factory = new SSLAdaptorServerSocketFactory();
    BeanUtils.populateWithoutFail(factory, socketFactoryProperties, true);
    adaptor.setSocketFactory(factory);
  }
  return adaptor;
}

代码示例来源:origin: org.objectweb.petals/petals-kernel

.setPathInJar("org/objectweb/petals/kernel/fractal/mx4j/xsl");
processor.setUseCache(false);
adminAttributes.getRawMBeanServer().registerMBean(processor,
    processorName);

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