|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl
public class ErraiServiceConfiguratorImpl
Default implementation of the ErraiBus server-side configurator.
Constructor Summary | |
---|---|
ErraiServiceConfiguratorImpl()
Initializes the ErraiServiceConfigurator with a specified ServerMessageBus |
Method Summary | ||
---|---|---|
boolean |
getBooleanProperty(String key)
Gets the property associated with the key. |
|
Map<Class<?>,ResourceProvider> |
getExtensionBindings()
|
|
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 |
|
Set<Class> |
getSerializableTypes()
|
|
boolean |
hasProperty(String key)
Returns true if the configuration has this key property |
|
void |
lockdown()
|
|
void |
setProperty(String key,
String value)
Sets a property with the specified key and value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Inject public ErraiServiceConfiguratorImpl()
Method Detail |
---|
public void lockdown()
public MetaDataScanner getMetaDataScanner()
ErraiServiceConfigurator
MetaDataScanner
that is used to read component annotation meta data.
getMetaDataScanner
in interface ErraiServiceConfigurator
public Map<String,ResourceProvider> getResourceProviders()
getResourceProviders
in interface ErraiServiceConfigurator
public boolean hasProperty(String key)
hasProperty
in interface ErraiServiceConfigurator
key
- - the property too search for
public String getProperty(String key)
getProperty
in interface ErraiServiceConfigurator
key
- - the key to search for
public boolean getBooleanProperty(String key)
ErraiServiceConfigurator
getBooleanProperty
in interface ErraiServiceConfigurator
public Integer getIntProperty(String key)
ErraiServiceConfigurator
getIntProperty
in interface ErraiServiceConfigurator
public <T> T getResource(Class<? extends T> resourceClass)
getResource
in interface ErraiServiceConfigurator
T
- - the class typeresourceClass
- - the class to search the resources for
public Map<Class<?>,ResourceProvider> getExtensionBindings()
public Set<Class> getSerializableTypes()
public void setProperty(String key, String value)
ErraiServiceConfigurator
setProperty
in interface ErraiServiceConfigurator
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 |