org.glassfish.hk2.api
Interface ValidationInformation

All Known Implementing Classes:
ValidationInformationImpl

public interface ValidationInformation

This object contains information about the validation point. The values available may vary depending on the type of operation.

Author:
jwells

Method Summary
 ActiveDescriptor<?> getCandidate()
          The candidate descriptor for this operation
 Filter getFilter()
          On a LOOKUP operation the Filter that was used in the lookup operation.
 Injectee getInjectee()
          On a LOOKUP operation if the lookup is being performed due to an injection point (as opposed to a lookup via the API) then this method will return a non-null Injectee that is the injection point that would be injected into
 Operation getOperation()
          The operation that is to be performed, one of BIND - The candidate descriptor is being added to the system UNBIND - The candidate descriptor is being removed from the system LOOKUP - The candidate descriptor is being looked up
 

Method Detail

getOperation

Operation getOperation()
The operation that is to be performed, one of

Returns:
The operation being performed

getCandidate

ActiveDescriptor<?> getCandidate()
The candidate descriptor for this operation

Returns:
The candidate descriptor for the operation being performed

getInjectee

Injectee getInjectee()
On a LOOKUP operation if the lookup is being performed due to an injection point (as opposed to a lookup via the API) then this method will return a non-null Injectee that is the injection point that would be injected into

Returns:
The injection point being injected into on a LOOKUP operation

getFilter

Filter getFilter()
On a LOOKUP operation the Filter that was used in the lookup operation. This may give more information about what exactly was being looked up by the caller

Returns:
The filter used in the lookup operation


Copyright © 2013 Oracle Corporation. All Rights Reserved.