本文整理汇总了Java中com.arjuna.databroker.data.DataProvider类的典型用法代码示例。如果您正苦于以下问题:Java DataProvider类的具体用法?Java DataProvider怎么用?Java DataProvider使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DataProvider类属于com.arjuna.databroker.data包,在下文中一共展示了DataProvider类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (Map.class.isAssignableFrom(dataClass))
return (DataProvider<T>) _dataProvider;
else
return null;
}
开发者ID:arjuna-technologies,项目名称:Apache-POI_DataBroker_PlugIn,代码行数:10,代码来源:XSSFStreamSheetToCSVDataProcessor.java
示例2: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (dataClass == String.class)
return (DataProvider<T>) _dataProvider;
else
return null;
}
开发者ID:arjuna-technologies,项目名称:Apache-POI_DataBroker_PlugIn,代码行数:10,代码来源:XSSFRowToJSONDataProcessor.java
示例3: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (String.class.isAssignableFrom(dataClass))
return (DataProvider<T>) _dataProvider;
else
return null;
}
开发者ID:arjuna-technologies,项目名称:FileSystem_DataBroker_PlugIn,代码行数:10,代码来源:FileReaderDataProcessor.java
示例4: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (dataClass == File.class)
return (DataProvider<T>) _dataProvider;
else
return null;
}
示例5: consume
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
public void consume(DataProvider<T> dataProvider, T data)
{
try
{
getMethod(_dataFlowNode.getClass(),_methodName).invoke(_dataFlowNode, data);
}
catch (Throwable throwable)
{
logger.log(Level.WARNING, "Problem invoking consumer", throwable);
}
}
示例6: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (dataClass == Document.class)
return (DataProvider<T>) _dataProvider;
else
return null;
}
开发者ID:arjuna-technologies,项目名称:Interconnect_DataBroker_PlugIn,代码行数:10,代码来源:DOMDocumentAcceptorDataSource.java
示例7: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (dataClass == Serializable.class)
return (DataProvider<T>) _dataProvider;
else
return null;
}
开发者ID:arjuna-technologies,项目名称:Interconnect_DataBroker_PlugIn,代码行数:10,代码来源:SerializableObjectPullDataSource.java
示例8: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (dataClass == Object.class)
return (DataProvider<T>) _batchDataProvider;
else
return null;
}
示例9: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (dataClass.isAssignableFrom(String.class))
return (DataProvider<T>) _dataProvider;
else
return null;
}
开发者ID:arjuna-technologies,项目名称:WebService_DataBroker_PlugIn,代码行数:10,代码来源:PullJSONWebServiceDataSource.java
示例10: getDataFlowLinks
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
private List<DataFlowNodeLinkDTO> getDataFlowLinks(DataProvider<?> dataProducer)
{
List<DataFlowNodeLinkDTO> dataFlowLinks = new LinkedList<DataFlowNodeLinkDTO>();
if (dataProducer instanceof ObservableDataProvider<?>)
{
ObservableDataProvider<?> observableDataProvider = (ObservableDataProvider<?>) dataProducer;
for (ObserverDataConsumer<?> dataConsumer: observableDataProvider.getDataConsumers())
dataFlowLinks.add(new DataFlowNodeLinkDTO(dataProducer.getDataFlowNode().getName(), dataConsumer.getDataFlowNode().getName()));
}
return dataFlowLinks;
}
示例11: getSourceProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
private <T> DataProvider<T> getSourceProvider(DataFlowNode sourceDataFlowNode, Class<T> dataClass)
{
if (sourceDataFlowNode instanceof DataSource)
return ((DataSource) sourceDataFlowNode).getDataProvider(dataClass);
else if (sourceDataFlowNode instanceof DataProcessor)
return ((DataProcessor) sourceDataFlowNode).getDataProvider(dataClass);
else if (sourceDataFlowNode instanceof DataService)
return ((DataService) sourceDataFlowNode).getDataProvider(dataClass);
else if (sourceDataFlowNode instanceof DataStore)
return ((DataStore) sourceDataFlowNode).getDataProvider(dataClass);
else
return null;
}
示例12: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
if (dataClass.equals(String.class))
return (DataProvider<T>) _dataProvider;
else
return null;
}
示例13: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
logger.log(Level.FINE, "DummyDataProcessor.getDataProvider");
if (Object.class.isAssignableFrom(dataClass))
return (DataProvider<T>) _dataProvider;
else
return null;
}
开发者ID:arjuna-technologies,项目名称:TestSupport_DataBroker_Utilities,代码行数:12,代码来源:DummyDataProcessor.java
示例14: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
logger.log(Level.FINE, "DummyDataStore.getDataProvider");
if (Object.class.isAssignableFrom(dataClass))
return (DataProvider<T>) _dataProvider;
else
return null;
}
示例15: getDataProvider
import com.arjuna.databroker.data.DataProvider; //导入依赖的package包/类
@Override
@SuppressWarnings("unchecked")
public <T> DataProvider<T> getDataProvider(Class<T> dataClass)
{
logger.log(Level.FINE, "DummyDataService.getDataProvider");
if (Object.class.isAssignableFrom(dataClass))
return (DataProvider<T>) _dataProvider;
else
return null;
}