@ApplicationScoped public class Configurator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION |
| Constructor and Description |
|---|
Configurator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(javax.enterprise.inject.spi.InjectionPoint ip) |
javax.cache.configuration.Configuration<String,String> |
getConfiguration() |
int |
getInteger(javax.enterprise.inject.spi.InjectionPoint ip) |
long |
getLong(javax.enterprise.inject.spi.InjectionPoint ip) |
String |
getString(javax.enterprise.inject.spi.InjectionPoint ip) |
void |
init(Object doesntMatter) |
void |
shutdown(Object doesntMatter) |
public static final String CONFIGURATION
public void init(@Observes @Initialized(value=javax.enterprise.context.ApplicationScoped.class)
Object doesntMatter)
@Produces public String getString(javax.enterprise.inject.spi.InjectionPoint ip)
ip - represents the field where the configuration is injected@Produces public long getLong(javax.enterprise.inject.spi.InjectionPoint ip)
@Produces public int getInteger(javax.enterprise.inject.spi.InjectionPoint ip)
@Produces public boolean getBoolean(javax.enterprise.inject.spi.InjectionPoint ip)
public void shutdown(@Observes @Destroyed(value=javax.enterprise.context.ApplicationScoped.class)
Object doesntMatter)
Copyright © 2016 Adam Bien. All Rights Reserved.