本文整理汇总了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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}