KIE Internal 6.2.0.CR2

org.kie.internal.utils
Class ServiceRegistryImpl

java.lang.Object
  extended by org.kie.internal.utils.ServiceRegistryImpl
All Implemented Interfaces:
org.kie.api.Service, ServiceRegistry

public class ServiceRegistryImpl
extends Object
implements ServiceRegistry

This is an internal class, not for public consumption.


Field Summary
 String fileName
           
protected static org.slf4j.Logger logger
           
 String path
           
 
Constructor Summary
ServiceRegistryImpl()
           
 
Method Summary
 void addDefault(Class cls, String impl)
           
 void addDefaultFactory(Class cls, String impl)
           
<T> T
get(Class<T> cls)
           
static ServiceRegistry getInstance()
           
 void registerLocator(Class cls, Callable cal)
           
 void unregisterLocator(Class cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileName

public final String fileName
See Also:
Constant Field Values

path

public final String path
See Also:
Constant Field Values

logger

protected static final transient org.slf4j.Logger logger
Constructor Detail

ServiceRegistryImpl

public ServiceRegistryImpl()
Method Detail

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

addDefaultFactory

public void addDefaultFactory(Class cls,
                              String impl)

KIE Internal 6.2.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.