org.granite.config
Class TideComponentMatcherFactory
java.lang.Object
org.granite.config.TideComponentMatcherFactory
public class TideComponentMatcherFactory
- extends Object
- Author:
- Franck WOLFF
|
Method Summary |
TideComponentMatcher |
getAnnotatedWithMatcher(String type,
boolean disabled)
|
TideComponentMatcher |
getInstanceOfMatcher(String type,
boolean disabled)
|
TideComponentMatcher |
getNameMatcher(String name,
boolean disabled)
|
TideComponentMatcher |
getTypeMatcher(String type,
boolean disabled)
|
static boolean |
isComponentTideDisabled(Map<String,Object[]> tideComponentsByName,
List<TideComponentMatcher> tideComponentMatchers,
String componentName,
Set<Class<?>> componentClasses,
Object componentInstance)
|
static boolean |
isComponentTideEnabled(Map<String,Object[]> tideComponentsByName,
List<TideComponentMatcher> tideComponentMatchers,
String componentName,
Set<Class<?>> componentClasses,
Object componentInstance)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TideComponentMatcherFactory
public TideComponentMatcherFactory()
getTypeMatcher
public TideComponentMatcher getTypeMatcher(String type,
boolean disabled)
throws GraniteConfigException
- Throws:
GraniteConfigException
getNameMatcher
public TideComponentMatcher getNameMatcher(String name,
boolean disabled)
throws GraniteConfigException
- Throws:
GraniteConfigException
getInstanceOfMatcher
public TideComponentMatcher getInstanceOfMatcher(String type,
boolean disabled)
throws GraniteConfigException
- Throws:
GraniteConfigException
getAnnotatedWithMatcher
public TideComponentMatcher getAnnotatedWithMatcher(String type,
boolean disabled)
throws GraniteConfigException
- Throws:
GraniteConfigException
isComponentTideEnabled
public static boolean isComponentTideEnabled(Map<String,Object[]> tideComponentsByName,
List<TideComponentMatcher> tideComponentMatchers,
String componentName,
Set<Class<?>> componentClasses,
Object componentInstance)
throws GraniteConfigException
- Throws:
GraniteConfigException
isComponentTideDisabled
public static boolean isComponentTideDisabled(Map<String,Object[]> tideComponentsByName,
List<TideComponentMatcher> tideComponentMatchers,
String componentName,
Set<Class<?>> componentClasses,
Object componentInstance)
throws GraniteConfigException
- Throws:
GraniteConfigException