com.espertech.esper.pattern
Interface PatternObjectResolutionService

All Known Implementing Classes:
PatternObjectResolutionServiceImpl

public interface PatternObjectResolutionService

Factory service for resolving pattern objects such as guards and observers.


Method Summary
 GuardFactory create(PatternGuardSpec spec)
          Creates a guard factory considering configured plugged-in resources.
 ObserverFactory create(PatternObserverSpec spec)
          Creates an observer factory considering configured plugged-in resources.
 

Method Detail

create

ObserverFactory create(PatternObserverSpec spec)
                       throws PatternObjectException
Creates an observer factory considering configured plugged-in resources.

Parameters:
spec - is the namespace, name and parameters for the observer
Returns:
observer factory
Throws:
PatternObjectException - if the observer cannot be resolved

create

GuardFactory create(PatternGuardSpec spec)
                    throws PatternObjectException
Creates a guard factory considering configured plugged-in resources.

Parameters:
spec - is the namespace, name and parameters for the guard
Returns:
guard factory
Throws:
PatternObjectException - if the guard cannot be resolved

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com