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

Constructor Summary
TypeRegistry()
           
 
Method Summary
 void addRPCEndpoint(Class<?> intf, javax.enterprise.inject.spi.AnnotatedType endpoint)
           
 void addServiceEndpoint(javax.enterprise.inject.spi.AnnotatedType service)
           
 void addServiceMethod(javax.enterprise.inject.spi.AnnotatedType service, javax.enterprise.inject.spi.AnnotatedMethod method)
           
 Map<Class<?>,javax.enterprise.inject.spi.AnnotatedType> getRpcEndpoints()
           
 List<javax.enterprise.inject.spi.AnnotatedType> getServiceEndpoints()
           
 Map<javax.enterprise.inject.spi.AnnotatedType,List<javax.enterprise.inject.spi.AnnotatedMethod>> getServiceMethods()
           
 
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

addServiceEndpoint

public void addServiceEndpoint(javax.enterprise.inject.spi.AnnotatedType service)

addServiceMethod

public void addServiceMethod(javax.enterprise.inject.spi.AnnotatedType service,
                             javax.enterprise.inject.spi.AnnotatedMethod method)

addRPCEndpoint

public void addRPCEndpoint(Class<?> intf,
                           javax.enterprise.inject.spi.AnnotatedType endpoint)

getServiceEndpoints

public List<javax.enterprise.inject.spi.AnnotatedType> getServiceEndpoints()

getServiceMethods

public Map<javax.enterprise.inject.spi.AnnotatedType,List<javax.enterprise.inject.spi.AnnotatedMethod>> getServiceMethods()

getRpcEndpoints

public Map<Class<?>,javax.enterprise.inject.spi.AnnotatedType> getRpcEndpoints()


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.