public class ErraiServiceConfiguratorImpl extends Object implements ErraiServiceConfigurator
Constructor and Description |
---|
ErraiServiceConfiguratorImpl()
Initializes the ErraiServiceConfigurator with a specified ServerMessageBus
|
Modifier and Type | Method and Description |
---|---|
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
|
<T> T |
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
|
@Inject public ErraiServiceConfiguratorImpl()
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 forpublic String getProperty(String key)
getProperty
in interface ErraiServiceConfigurator
key
- - the key to search forpublic 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 forpublic Map<Class<?>,ResourceProvider> getExtensionBindings()
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.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.