|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErraiServiceConfigurator
The ErraiServiceConfigurator is a template for creating a configuration for a service
Method Summary | ||
---|---|---|
boolean |
getBooleanProperty(String key)
Gets the property associated with the key. |
|
Integer |
getIntProperty(String key)
Gets the property associated with the key. |
|
MetaDataScanner |
getMetaDataScanner()
Provides access to the MetaDataScanner
that is used to read component annotation meta data. |
|
String |
getProperty(String key)
Gets the property associated with the key |
|
|
getResource(Class<? extends T> resourceClass)
Gets the resources attached to the specified resource class |
|
Map<String,ResourceProvider> |
getResourceProviders()
Gets the resource providers associated with this configurator |
|
boolean |
hasProperty(String key)
Returns true if the configuration has this key property |
|
void |
setProperty(String key,
String value)
Sets a property with the specified key and value |
Method Detail |
---|
MetaDataScanner getMetaDataScanner()
MetaDataScanner
that is used to read component annotation meta data.
Map<String,ResourceProvider> getResourceProviders()
<T> T getResource(Class<? extends T> resourceClass)
T
- - the class typeresourceClass
- - the class to search the resources for
boolean hasProperty(String key)
key
- - the property too search for
String getProperty(String key)
key
- - the key to search for
boolean getBooleanProperty(String key)
key
-
Integer getIntProperty(String key)
key
-
void setProperty(String key, String value)
key
- the name of the property.value
- the string value of the property.
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |