本文整理汇总了Java中com.espertech.esper.pattern.observer.ObserverFactory类的典型用法代码示例。如果您正苦于以下问题:Java ObserverFactory类的具体用法?Java ObserverFactory怎么用?Java ObserverFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ObserverFactory类属于com.espertech.esper.pattern.observer包,在下文中一共展示了ObserverFactory类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setObserverFactory
import com.espertech.esper.pattern.observer.ObserverFactory; //导入依赖的package包/类
/**
* Supplies the observer factory to the node.
* @param observerFactory is the observer factory
*/
public void setObserverFactory(ObserverFactory observerFactory)
{
this.observerFactory = observerFactory;
}
示例2: getObserverFactory
import com.espertech.esper.pattern.observer.ObserverFactory; //导入依赖的package包/类
/**
* Returns the observer factory.
* @return factory for observer instances
*/
public ObserverFactory getObserverFactory()
{
return observerFactory;
}
示例3: create
import com.espertech.esper.pattern.observer.ObserverFactory; //导入依赖的package包/类
/**
* Creates an observer factory considering configured plugged-in resources.
*
* @param spec is the namespace, name and parameters for the observer
* @return observer factory
* @throws PatternObjectException if the observer cannot be resolved
*/
public ObserverFactory create(PatternObserverSpec spec) throws PatternObjectException;
示例4: setObserverFactory
import com.espertech.esper.pattern.observer.ObserverFactory; //导入依赖的package包/类
/**
* Supplies the observer factory to the node.
*
* @param observerFactory is the observer factory
*/
public void setObserverFactory(ObserverFactory observerFactory) {
this.observerFactory = observerFactory;
}
示例5: getObserverFactory
import com.espertech.esper.pattern.observer.ObserverFactory; //导入依赖的package包/类
/**
* Returns the observer factory.
*
* @return factory for observer instances
*/
public ObserverFactory getObserverFactory() {
return observerFactory;
}
示例6: create
import com.espertech.esper.pattern.observer.ObserverFactory; //导入依赖的package包/类
/**
* Creates an observer factory considering configured plugged-in resources.
* @param spec is the namespace, name and parameters for the observer
* @return observer factory
* @throws PatternObjectException if the observer cannot be resolved
*/
public ObserverFactory create(PatternObserverSpec spec) throws PatternObjectException;