org.drools.util
Class ServiceRegistryImpl
java.lang.Object
org.drools.util.ServiceRegistryImpl
- All Implemented Interfaces:
- Service, ServiceRegistry
public class ServiceRegistryImpl
- extends Object
- implements ServiceRegistry
This is an internal class, not for public consumption.
Field Summary |
protected static org.slf4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final transient org.slf4j.Logger logger
ServiceRegistryImpl
public ServiceRegistryImpl()
getInstance
public static ServiceRegistry getInstance()
registerLocator
public void registerLocator(Class cls,
Callable cal)
- Specified by:
registerLocator
in interface ServiceRegistry
unregisterLocator
public void unregisterLocator(Class cls)
- Specified by:
unregisterLocator
in interface ServiceRegistry
get
public <T> T get(Class<T> cls)
- Specified by:
get
in interface ServiceRegistry
addDefault
public void addDefault(Class cls,
String impl)
- Specified by:
addDefault
in interface ServiceRegistry
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.