当前位置: 首页>>代码示例>>Java>>正文


Java XmlAdapterDefinition.loadConnector方法代码示例

本文整理汇总了Java中com.esri.ges.adapter.util.XmlAdapterDefinition.loadConnector方法的典型用法代码示例。如果您正苦于以下问题:Java XmlAdapterDefinition.loadConnector方法的具体用法?Java XmlAdapterDefinition.loadConnector怎么用?Java XmlAdapterDefinition.loadConnector使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.esri.ges.adapter.util.XmlAdapterDefinition的用法示例。


在下文中一共展示了XmlAdapterDefinition.loadConnector方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: GtfsRealtimeInboundAdapterService

import com.esri.ges.adapter.util.XmlAdapterDefinition; //导入方法依赖的package包/类
public GtfsRealtimeInboundAdapterService()
{
  XmlAdapterDefinition xmlAdapterDefinition = new XmlAdapterDefinition(getResourceAsStream("adapter-definition.xml"));
  try
  {
    xmlAdapterDefinition.loadConnector(getResourceAsStream("connector-definition.xml"));
  }
  catch (JAXBException e)
  {
    throw new RuntimeException(e);
  }
  definition = xmlAdapterDefinition;
}
 
开发者ID:Esri,项目名称:gtfsrealtime-for-geoevent,代码行数:14,代码来源:GtfsRealtimeInboundAdapterService.java

示例2: CoTAdapterServiceOutbound

import com.esri.ges.adapter.util.XmlAdapterDefinition; //导入方法依赖的package包/类
/**
 * 
 */
public CoTAdapterServiceOutbound() {
	XmlAdapterDefinition xmlAdapterDef = new XmlAdapterDefinition(getResourceAsStream("outbound-adapter-definition.xml"));
	
	try
	{
		xmlAdapterDef.loadConnector(getResourceAsStream("output-connector-definition.xml"));
	}
	catch (JAXBException e)
    {
		throw new RuntimeException(e);
    }
	definition =xmlAdapterDef;
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:17,代码来源:CoTAdapterServiceOutbound.java

示例3: AwsAdapterService

import com.esri.ges.adapter.util.XmlAdapterDefinition; //导入方法依赖的package包/类
public AwsAdapterService()
{
  XmlAdapterDefinition xmlAdapterDefinition = new XmlAdapterDefinition(getResourceAsStream("adapter-definition.xml"));
  try
  {
    xmlAdapterDefinition.loadConnector(getResourceAsStream("input-connector-definition.xml"));
    xmlAdapterDefinition.loadConnector(getResourceAsStream("output-connector-definition.xml"));
  }
  catch (JAXBException e)
  {
    throw new RuntimeException(e);
  }
  definition = xmlAdapterDefinition;

}
 
开发者ID:Esri,项目名称:aws-for-geoevent,代码行数:16,代码来源:AwsAdapterService.java

示例4: TweetStatusAdapterService

import com.esri.ges.adapter.util.XmlAdapterDefinition; //导入方法依赖的package包/类
public TweetStatusAdapterService()
{
	XmlAdapterDefinition xmlAdapterDefinition = new XmlAdapterDefinition(getResourceAsStream("tweetstatus-adapter-definition.xml"));
	try
	{
		xmlAdapterDefinition.loadConnector(getResourceAsStream("input-connector-definition.xml"));
		xmlAdapterDefinition.loadConnector(getResourceAsStream("output-connector-definition.xml"));
	}
	catch (JAXBException e)
	{
		throw new RuntimeException(e);
	}
	definition = xmlAdapterDefinition;
}
 
开发者ID:Esri,项目名称:twitter-for-geoevent,代码行数:15,代码来源:TweetStatusAdapterService.java

示例5: NmeaInboundAdapterService

import com.esri.ges.adapter.util.XmlAdapterDefinition; //导入方法依赖的package包/类
public NmeaInboundAdapterService()
{
	XmlAdapterDefinition xmlAdapterDefinition = new XmlAdapterDefinition(getResourceAsStream("adapter-definition.xml"));
	try
	{
		xmlAdapterDefinition.loadConnector(getResourceAsStream("connector-definition.xml"));
	}
	catch (JAXBException e)
	{
		throw new RuntimeException(e);
	}
	definition = xmlAdapterDefinition;
}
 
开发者ID:Esri,项目名称:nmea-for-geoevent,代码行数:14,代码来源:NmeaInboundAdapterService.java

示例6: TaipInboundAdapterService

import com.esri.ges.adapter.util.XmlAdapterDefinition; //导入方法依赖的package包/类
public TaipInboundAdapterService() throws ComponentException
{
	XmlAdapterDefinition xmlAdapterDefinition = new XmlAdapterDefinition(getResourceAsStream("adapter-definition.xml"));
	try
	{
		xmlAdapterDefinition.loadConnector(getResourceAsStream("taip-tcp-in-connector-definition.xml"));
		xmlAdapterDefinition.loadConnector(getResourceAsStream("taip-udp-in-connector-definition.xml"));
	}
	catch (JAXBException e)
	{
		throw new RuntimeException(e);
	}
	definition = xmlAdapterDefinition;
}
 
开发者ID:Esri,项目名称:trimble-for-geoevent,代码行数:15,代码来源:TaipInboundAdapterService.java

示例7: InstagramAdapterService

import com.esri.ges.adapter.util.XmlAdapterDefinition; //导入方法依赖的package包/类
public InstagramAdapterService()
{
	XmlAdapterDefinition xmlAdapterDefinition = new XmlAdapterDefinition(getResourceAsStream("adapter-definition.xml"));
	try
	{
		xmlAdapterDefinition.loadConnector(getResourceAsStream("input-connector-definition.xml"));
	}
	catch (JAXBException e)
	{
		throw new RuntimeException(e);
	}
	definition = xmlAdapterDefinition;

}
 
开发者ID:Esri,项目名称:instagram-for-geoevent,代码行数:15,代码来源:InstagramAdapterService.java


注:本文中的com.esri.ges.adapter.util.XmlAdapterDefinition.loadConnector方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。