org.jboss.forge.container.impl
Class ServiceRegistryImpl
java.lang.Object
org.jboss.forge.container.impl.ServiceRegistryImpl
- All Implemented Interfaces:
- ServiceRegistry
public class ServiceRegistryImpl
- extends Object
- implements ServiceRegistry
ServiceRegistryImpl
public ServiceRegistryImpl(LockManager lock,
AddonImpl addon,
javax.enterprise.inject.spi.BeanManager manager,
ContainerServiceExtension extension)
addService
public <T> void addService(Class<T> clazz)
getExportedInstance
public <T> ExportedInstance<T> getExportedInstance(String clazz)
- Specified by:
getExportedInstance in interface ServiceRegistry
getExportedInstance
public <T> ExportedInstance<T> getExportedInstance(Class<T> clazz)
- Specified by:
getExportedInstance in interface ServiceRegistry
getServices
public Set<Class<?>> getServices()
- Specified by:
getServices in interface ServiceRegistry
hasService
public boolean hasService(String clazz)
- Specified by:
hasService in interface ServiceRegistry
hasService
public boolean hasService(Class<?> clazz)
- Specified by:
hasService in interface ServiceRegistry
getExportedInstances
public <T> Set<ExportedInstance<T>> getExportedInstances(String clazz)
- Specified by:
getExportedInstances in interface ServiceRegistry
getExportedInstances
public <T> Set<ExportedInstance<T>> getExportedInstances(Class<T> requestedType)
- Specified by:
getExportedInstances in interface ServiceRegistry
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.