Class ValidationInformationImpl

java.lang.Object
org.jvnet.hk2.internal.ValidationInformationImpl
All Implemented Interfaces:
org.glassfish.hk2.api.ValidationInformation

public class ValidationInformationImpl extends Object implements org.glassfish.hk2.api.ValidationInformation
Author:
jwells
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValidationInformationImpl(org.glassfish.hk2.api.Operation operation, org.glassfish.hk2.api.ActiveDescriptor<?> candidate)
    Creates the validation information
    ValidationInformationImpl(org.glassfish.hk2.api.Operation operation, org.glassfish.hk2.api.ActiveDescriptor<?> candidate, org.glassfish.hk2.api.Injectee injectee, org.glassfish.hk2.api.Filter filter)
    Creates the validation information
  • Method Summary

    Modifier and Type
    Method
    Description
    The implementation of this method is VERY dependent on the implementation of ServiceLocatorImpl.
    org.glassfish.hk2.api.ActiveDescriptor<?>
     
    org.glassfish.hk2.api.Filter
     
    org.glassfish.hk2.api.Injectee
     
    org.glassfish.hk2.api.Operation
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ValidationInformationImpl

      public ValidationInformationImpl(org.glassfish.hk2.api.Operation operation, org.glassfish.hk2.api.ActiveDescriptor<?> candidate, org.glassfish.hk2.api.Injectee injectee, org.glassfish.hk2.api.Filter filter)
      Creates the validation information
      Parameters:
      operation - The operation to perform
      candidate - The candidate to perform it on
      injectee - The injecteee that may be involved
      filter - The filter that may be involved in the lookup
    • ValidationInformationImpl

      public ValidationInformationImpl(org.glassfish.hk2.api.Operation operation, org.glassfish.hk2.api.ActiveDescriptor<?> candidate)
      Creates the validation information
      Parameters:
      operation - The operation to perform
      candidate - The candidate to perform it on
  • Method Details

    • getOperation

      public org.glassfish.hk2.api.Operation getOperation()
      Specified by:
      getOperation in interface org.glassfish.hk2.api.ValidationInformation
    • getCandidate

      public org.glassfish.hk2.api.ActiveDescriptor<?> getCandidate()
      Specified by:
      getCandidate in interface org.glassfish.hk2.api.ValidationInformation
    • getInjectee

      public org.glassfish.hk2.api.Injectee getInjectee()
      Specified by:
      getInjectee in interface org.glassfish.hk2.api.ValidationInformation
    • getFilter

      public org.glassfish.hk2.api.Filter getFilter()
      Specified by:
      getFilter in interface org.glassfish.hk2.api.ValidationInformation
    • getCaller

      public StackTraceElement getCaller()
      The implementation of this method is VERY dependent on the implementation of ServiceLocatorImpl. Any refactoring of ServiceLocatorImpl having to do with validation will likely cause this code to break. Hopefully the unit tests will catch any such failures!
      Specified by:
      getCaller in interface org.glassfish.hk2.api.ValidationInformation
    • toString

      public String toString()
      Overrides:
      toString in class Object