Interface PatternObjectResolutionService
- All Known Implementing Classes:
PatternObjectResolutionServiceImpl
public interface PatternObjectResolutionService
Factory service for resolving pattern objects such as guards and observers.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(PatternGuardSpec spec) Creates a guard factory considering configured plugged-in resources.create
(PatternObserverSpec spec) Creates an observer factory considering configured plugged-in resources.
-
Method Details
-
create
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
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
-