public class PatternObjectResolutionServiceImpl extends Object implements PatternObjectResolutionService
Constructor and Description |
---|
PatternObjectResolutionServiceImpl(PluggableObjectCollection patternObjects)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public PatternObjectResolutionServiceImpl(PluggableObjectCollection patternObjects)
patternObjects
- is the pattern plug-in objects configuredpublic ObserverFactory create(PatternObserverSpec spec) throws PatternObjectException
PatternObjectResolutionService
create
in interface PatternObjectResolutionService
spec
- is the namespace, name and parameters for the observerPatternObjectException
- if the observer cannot be resolvedpublic GuardFactory create(PatternGuardSpec spec) throws PatternObjectException
PatternObjectResolutionService
create
in interface PatternObjectResolutionService
spec
- is the namespace, name and parameters for the guardPatternObjectException
- if the guard cannot be resolved