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
ConstructorsConstructorDescriptionValidationInformationImpl(org.glassfish.hk2.api.Operation operation, org.glassfish.hk2.api.ActiveDescriptor<?> candidate) Creates the validation informationValidationInformationImpl(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 TypeMethodDescriptionThe implementation of this method is VERY dependent on the implementation of ServiceLocatorImpl.org.glassfish.hk2.api.ActiveDescriptor<?>org.glassfish.hk2.api.Filterorg.glassfish.hk2.api.Injecteeorg.glassfish.hk2.api.OperationtoString()
-
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 performcandidate- The candidate to perform it oninjectee- The injecteee that may be involvedfilter- 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 performcandidate- The candidate to perform it on
-
-
Method Details
-
getOperation
public org.glassfish.hk2.api.Operation getOperation()- Specified by:
getOperationin interfaceorg.glassfish.hk2.api.ValidationInformation
-
getCandidate
public org.glassfish.hk2.api.ActiveDescriptor<?> getCandidate()- Specified by:
getCandidatein interfaceorg.glassfish.hk2.api.ValidationInformation
-
getInjectee
public org.glassfish.hk2.api.Injectee getInjectee()- Specified by:
getInjecteein interfaceorg.glassfish.hk2.api.ValidationInformation
-
getFilter
public org.glassfish.hk2.api.Filter getFilter()- Specified by:
getFilterin interfaceorg.glassfish.hk2.api.ValidationInformation
-
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:
getCallerin interfaceorg.glassfish.hk2.api.ValidationInformation
-
toString
-