org.jboss.errai.cdi.server
Class TypeRegistry
java.lang.Object
org.jboss.errai.cdi.server.TypeRegistry
public class TypeRegistry
- extends Object
Holds references to the types discovered when CDI bootraps.
These are used through the extension lifecycle, i.e. in ShutdownEventObserver
- Author:
- Heiko Braun , Mike Brock, Christian Sadilek , Max Barkley
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeRegistry
public TypeRegistry()
addRemoteInterface
public void addRemoteInterface(Class<?> intf)
getRemoteInterfaces
public Set<Class<?>> getRemoteInterfaces()
getDelegateClasses
public Collection<Class<?>> getDelegateClasses()
- Returns:
- All registered beans which are services or contain methods which are services.
getDelegateServices
public Collection<ServiceParser> getDelegateServices(Class<?> delegateClass)
- Get all the services associated with a delegate class.
addService
public void addService(ServiceParser service)
- Register a service.
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.