gpt4 book ai didi

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

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

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

XSLTProcessor.<init>介绍

暂无

代码示例

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

/**
 * Defines and starts the Xslt Processor helper service for the Http Adaptor.
 */
private ObjectName createXsltProcessor() throws javax.management.JMException {
 ObjectName objName = getXsltProcessorName();
 // make sure this mbean is not already registered...
 if (getMBeanServer().isRegistered(objName)) {
  // dunno how we got here...
  logger.info("XsltProcessor already registered as  {}", objName);
  return objName;
 }
 getMBeanServer().registerMBean(new mx4j.tools.adaptor.http.XSLTProcessor(), objName);
 return objName;
}

代码示例来源:origin: org.apache.geode/gemfire-core

/**
 * Defines and starts the Xslt Processor helper service for the Http Adaptor.
 */
private ObjectName createXsltProcessor()
throws javax.management.JMException {
 ObjectName objName = getXsltProcessorName();
 // make sure this mbean is not already registered...
 if (getMBeanServer().isRegistered(objName)) {
  // dunno how we got here...
  logger.info(LocalizedMessage.create(LocalizedStrings.AgentImpl_XSLTPROCESSOR_ALREADY_REGISTERED_AS__0, objName));
  return objName;
 }
 getMBeanServer().registerMBean(
  new mx4j.tools.adaptor.http.XSLTProcessor(), objName);
 return objName;
}

代码示例来源:origin: com.github.kaitoy.sneo/sneo-core

server.registerMBean(adaptor, ADAPTOR_NAME);
XSLTProcessor xsltProcessor = new XSLTProcessor();
server.registerMBean(xsltProcessor, PROCESSOR_NAME);

代码示例来源:origin: io.snappydata/gemfire-core

/**
 * Defines and starts the Xslt Processor helper service for the Http Adaptor.
 */
private ObjectName createXsltProcessor()
throws javax.management.JMException {
 ObjectName objName = getXsltProcessorName();
 // make sure this mbean is not already registered...
 if (getMBeanServer().isRegistered(objName)) {
  // dunno how we got here...
  getLogWriterI18n().info(LocalizedStrings.AgentImpl_XSLTPROCESSOR_ALREADY_REGISTERED_AS__0, objName);
  return objName;
 }
 getMBeanServer().registerMBean(
  new mx4j.tools.adaptor.http.XSLTProcessor(), objName);
 return objName;
}

代码示例来源: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

XSLTProcessor processor = new XSLTProcessor();

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