com.sun.hk2.component
Class InhabitantIntrospectionScanner

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

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

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


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

Constructor Detail

InhabitantIntrospectionScanner

public InhabitantIntrospectionScanner(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.Set<java.lang.String> interfaces,
                               java.util.Set<java.lang.String> annotationTypeInterfaces)

findInterfaceContracts

public void findInterfaceContracts(org.glassfish.hk2.classmodel.reflect.InterfaceModel im,
                                   java.util.Set<java.lang.String> interfaces,
                                   java.util.Set<java.lang.String> annInterfaces)

findContractsFromAnnotations

public void findContractsFromAnnotations(org.glassfish.hk2.classmodel.reflect.AnnotatedElement ae,
                                         java.util.Set<java.lang.String> interfaces,
                                         java.util.Set<java.lang.String> annInterfaces)

scrub

public static java.lang.String scrub(java.lang.Object obj)

findContracts

public void findContracts(org.glassfish.hk2.classmodel.reflect.ClassModel cm,
                          java.util.Set<java.lang.String> interfaces,
                          java.util.Set<java.lang.String> annotationTypeInterfaces)

iterator

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


Copyright © 2011 Oracle Corporation. All Rights Reserved.