public interface SoaFeatures
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_NAME
Name for the admin JerseyEnvironment
|
static String |
DEFAULT_NAME
Default name to use for
getNamed(Class, String) |
Modifier and Type | Method and Description |
---|---|
DynamicAttributes |
getAttributes()
Return the dynamic attributes instance
|
Collection<Class<?>> |
getClasses()
Return all the registered classes
|
DeploymentGroupManager |
getDeploymentGroupManager()
Return the deployment group manager
|
Discovery |
getDiscovery()
Return the service discovery instance
|
ExecutorBuilder |
getExecutorBuilder()
Access to the Dropwizard executor builders from the Dropwizard environment
|
<T> T |
getNamed(Class<T> clazz,
String name)
Return the stored named object
|
<T> T |
getNamedRequired(Class<T> clazz,
String name)
Return the stored named object or throws
NullPointerException |
<T> Collection<String> |
getNames(Class<T> clazz)
Return the set of names registered for the given class
|
SoaInfo |
getSoaInfo()
Returns information about this instance
|
<T> void |
putNamed(T o,
Class<T> clazz,
String name)
Registers an object with a name.
|
static final String DEFAULT_NAME
getNamed(Class, String)
static final String ADMIN_NAME
Collection<Class<?>> getClasses()
<T> T getNamed(Class<T> clazz, String name)
clazz
- object's classname
- name of the object<T> Collection<String> getNames(Class<T> clazz)
clazz
- class to check<T> T getNamedRequired(Class<T> clazz, String name)
NullPointerException
clazz
- object's classname
- name of the objectNullPointerException
- if an object of the given class with the given name isn't registered<T> void putNamed(T o, Class<T> clazz, String name)
o
- the objectclazz
- the object's classname
- name to storeDiscovery getDiscovery()
DynamicAttributes getAttributes()
SoaInfo getSoaInfo()
DeploymentGroupManager getDeploymentGroupManager()
ExecutorBuilder getExecutorBuilder()
Copyright © 2014–2016 Soabase. All rights reserved.