Errai 3.0.1-SNAPSHOT

org.jboss.errai.cdi.server
Class TypeRegistry

java.lang.Object
  extended by 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

Constructor Summary
TypeRegistry()
           
 
Method Summary
 void addRemoteInterface(Class<?> intf)
           
 void addService(ServiceParser service)
          Register a service.
 Collection<Class<?>> getDelegateClasses()
           
 Collection<ServiceParser> getDelegateServices(Class<?> delegateClass)
          Get all the services associated with a delegate class.
 Set<Class<?>> getRemoteInterfaces()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeRegistry

public TypeRegistry()
Method Detail

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.


Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.