com.sun.hk2.component
Class IntrospectionScanner

java.lang.Object
  extended by com.sun.hk2.component.IntrospectionScanner
All Implemented Interfaces:
java.lang.Iterable<InhabitantParser>

public class IntrospectionScanner
extends java.lang.Object
implements java.lang.Iterable<InhabitantParser>

Inhabitant scanner based on introspection information rather than statically generated inhabitant file


Constructor Summary
IntrospectionScanner(org.glassfish.hk2.classmodel.reflect.ParsingContext context)
           
 
Method Summary
 void findClassContracts(org.glassfish.hk2.classmodel.reflect.ClassModel cm, java.util.List<org.glassfish.hk2.classmodel.reflect.InterfaceModel> interfaces)
           
 void findContracts(org.glassfish.hk2.classmodel.reflect.ClassModel cm, java.util.List<org.glassfish.hk2.classmodel.reflect.InterfaceModel> interfaces)
           
 void findContractsFromAnnotations(org.glassfish.hk2.classmodel.reflect.AnnotatedElement ae, java.util.List<org.glassfish.hk2.classmodel.reflect.InterfaceModel> interfaces)
           
 void findInterfaceContracts(org.glassfish.hk2.classmodel.reflect.InterfaceModel im, java.util.List<org.glassfish.hk2.classmodel.reflect.InterfaceModel> interfaces)
           
 boolean isContract(org.glassfish.hk2.classmodel.reflect.AnnotatedElement type)
           
 java.util.Iterator<InhabitantParser> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntrospectionScanner

public IntrospectionScanner(org.glassfish.hk2.classmodel.reflect.ParsingContext context)
Method Detail

isContract

public boolean isContract(org.glassfish.hk2.classmodel.reflect.AnnotatedElement type)

findClassContracts

public void findClassContracts(org.glassfish.hk2.classmodel.reflect.ClassModel cm,
                               java.util.List<org.glassfish.hk2.classmodel.reflect.InterfaceModel> interfaces)

findInterfaceContracts

public void findInterfaceContracts(org.glassfish.hk2.classmodel.reflect.InterfaceModel im,
                                   java.util.List<org.glassfish.hk2.classmodel.reflect.InterfaceModel> interfaces)

findContractsFromAnnotations

public void findContractsFromAnnotations(org.glassfish.hk2.classmodel.reflect.AnnotatedElement ae,
                                         java.util.List<org.glassfish.hk2.classmodel.reflect.InterfaceModel> interfaces)

findContracts

public void findContracts(org.glassfish.hk2.classmodel.reflect.ClassModel cm,
                          java.util.List<org.glassfish.hk2.classmodel.reflect.InterfaceModel> interfaces)

iterator

public java.util.Iterator<InhabitantParser> iterator()
Specified by:
iterator in interface java.lang.Iterable<InhabitantParser>


Copyright © 2010 Sun Microsystems, Inc.. All Rights Reserved.