public class ValidationInformationImpl extends Object implements ValidationInformation
Constructor and Description |
---|
ValidationInformationImpl(Operation operation,
ActiveDescriptor<?> candidate)
Creates the validation information
|
ValidationInformationImpl(Operation operation,
ActiveDescriptor<?> candidate,
Injectee injectee,
Filter filter)
Creates the validation information
|
Modifier and Type | Method and Description |
---|---|
StackTraceElement |
getCaller()
The implementation of this method is VERY dependent on the implementation
of ServiceLocatorImpl.
|
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
|
String |
toString() |
public ValidationInformationImpl(Operation operation, ActiveDescriptor<?> candidate, Injectee injectee, Filter filter)
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 lookuppublic ValidationInformationImpl(Operation operation, ActiveDescriptor<?> candidate)
operation
- The operation to performcandidate
- The candidate to perform it onpublic Operation getOperation()
ValidationInformation
getOperation
in interface ValidationInformation
public ActiveDescriptor<?> getCandidate()
ValidationInformation
getCandidate
in interface ValidationInformation
public Injectee getInjectee()
ValidationInformation
Injectee
that is the injection
point that would be injected intogetInjectee
in interface ValidationInformation
public Filter getFilter()
ValidationInformation
Filter
that was used in the
lookup operation. This may give more information about what
exactly was being looked up by the callergetFilter
in interface ValidationInformation
public StackTraceElement getCaller()
getCaller
in interface ValidationInformation
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.