org.jboss.forge.container.impl
Class NullServiceRegistry
java.lang.Object
org.jboss.forge.container.impl.NullServiceRegistry
- All Implemented Interfaces:
- ServiceRegistry
@Typed
public class NullServiceRegistry
- extends Object
- implements ServiceRegistry
Used when an addon does not provide services.
- Author:
- Lincoln Baxter, III
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullServiceRegistry
public NullServiceRegistry()
getExportedInstance
public <T> ExportedInstance<T> getExportedInstance(Class<T> serviceType)
- Specified by:
getExportedInstance in interface ServiceRegistry
getExportedInstance
public <T> ExportedInstance<T> getExportedInstance(String serviceType)
- Specified by:
getExportedInstance in interface ServiceRegistry
getExportedInstances
public <T> Set<ExportedInstance<T>> getExportedInstances(Class<T> serviceType)
- Specified by:
getExportedInstances in interface ServiceRegistry
getServices
public Set<Class<?>> getServices()
- Specified by:
getServices in interface ServiceRegistry
hasService
public boolean hasService(Class<?> serviceType)
- Specified by:
hasService in interface ServiceRegistry
hasService
public boolean hasService(String clazz)
- Specified by:
hasService in interface ServiceRegistry
getExportedInstances
public Set<ExportedInstance<Object>> getExportedInstances(String typeName)
- Specified by:
getExportedInstances in interface ServiceRegistry
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.