public class ValidationInformationImpl extends java.lang.Object implements ValidationInformation
| Modifier and Type | Field and Description |
|---|---|
private ActiveDescriptor<?> |
candidate |
private static java.lang.String |
CHECK_METHOD |
private Filter |
filter |
private Injectee |
injectee |
private Operation |
operation |
private static java.util.HashSet<java.lang.String> |
PACKAGES_TO_SKIP |
private static java.lang.String |
SERVICE_LOCATOR_IMPL |
private static java.lang.String[] |
SKIP_ME |
private static java.lang.String |
VALIDATE_METHOD |
| 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 |
|---|---|
java.lang.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
|
private java.lang.String |
getPackage(java.lang.String name) |
java.lang.String |
toString() |
private static final java.lang.String SERVICE_LOCATOR_IMPL
private static final java.lang.String VALIDATE_METHOD
private static final java.lang.String CHECK_METHOD
private static final java.lang.String[] SKIP_ME
private static final java.util.HashSet<java.lang.String> PACKAGES_TO_SKIP
private final Operation operation
private final ActiveDescriptor<?> candidate
private final Injectee injectee
private final Filter filter
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()
ValidationInformationgetOperation in interface ValidationInformationpublic ActiveDescriptor<?> getCandidate()
ValidationInformationgetCandidate in interface ValidationInformationpublic Injectee getInjectee()
ValidationInformationInjectee that is the injection
point that would be injected intogetInjectee in interface ValidationInformationpublic Filter getFilter()
ValidationInformationFilter that was used in the
lookup operation. This may give more information about what
exactly was being looked up by the callergetFilter in interface ValidationInformationprivate java.lang.String getPackage(java.lang.String name)
public java.lang.StackTraceElement getCaller()
getCaller in interface ValidationInformationpublic java.lang.String toString()
toString in class java.lang.Object