public class ServiceRegistryImpl extends Object implements ServiceRegistry
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ServiceRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefault(Class cls,
String impl) |
<T> T |
get(Class<T> cls) |
static ServiceRegistry |
getInstance() |
void |
registerLocator(Class cls,
Callable cal) |
void |
unregisterLocator(Class cls) |
public static ServiceRegistry getInstance()
public void registerLocator(Class cls, Callable cal)
registerLocator in interface ServiceRegistrypublic void unregisterLocator(Class cls)
unregisterLocator in interface ServiceRegistrypublic <T> T get(Class<T> cls)
get in interface ServiceRegistrypublic void addDefault(Class cls, String impl)
addDefault in interface ServiceRegistryCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.