本文整理匯總了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;