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 ServiceRegistry
public void unregisterLocator(Class cls)
unregisterLocator
in interface ServiceRegistry
public <T> T get(Class<T> cls)
get
in interface ServiceRegistry
public void addDefault(Class cls, String impl)
addDefault
in interface ServiceRegistry
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.