public class TopiaServiceSupportImpl extends Object implements TopiaServiceSupport
| Modifier and Type | Field and Description |
|---|---|
protected com.google.common.collect.ImmutableMap<String,TopiaService> |
services |
protected AbstractTopiaApplicationContext |
topiaApplicationContext |
| Constructor and Description |
|---|
TopiaServiceSupportImpl(AbstractTopiaApplicationContext topiaApplicationContext) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,TopiaService> |
getServices()
The list of registered services.
|
<T extends TopiaService> |
getServices(Class<T> interfaceService)
Same as
TopiaServiceSupport.getServices() but returns only services that implements
given contract (or is instance of given class). |
void |
init() |
protected com.google.common.collect.ImmutableMap<String,TopiaService> |
loadServices(com.google.common.collect.ImmutableMap<String,String> configuration) |
protected void |
postInitServices(Map<String,TopiaService> services) |
protected void |
preInitServices(Map<String,TopiaService> services) |
protected com.google.common.collect.ImmutableMap<String,TopiaService> services
protected AbstractTopiaApplicationContext topiaApplicationContext
public TopiaServiceSupportImpl(AbstractTopiaApplicationContext topiaApplicationContext)
public void init()
protected void preInitServices(Map<String,TopiaService> services)
protected void postInitServices(Map<String,TopiaService> services)
protected com.google.common.collect.ImmutableMap<String,TopiaService> loadServices(com.google.common.collect.ImmutableMap<String,String> configuration)
public Map<String,TopiaService> getServices()
TopiaServiceSupportgetServices in interface TopiaServiceSupportpublic <T extends TopiaService> Map<String,T> getServices(Class<T> interfaceService)
TopiaServiceSupportTopiaServiceSupport.getServices() but returns only services that implements
given contract (or is instance of given class).getServices in interface TopiaServiceSupportCopyright © 2004–2014 CodeLutin. All rights reserved.