public static interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecification
AgentBuilder
specification that requires a resubmission specification.Modifier and Type | Method and Description |
---|---|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitImmediate()
Specifies that transformations of unloaded types should not be transformed when they are loaded for the first
time but should rather be resubmitted after they are loaded.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitImmediate(AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher matcher)
Specifies that transformations of unloaded types should not be transformed when they are loaded for the first
time but should rather be resubmitted after they are loaded.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitImmediate(ElementMatcher<String> typeNameMatcher)
Specifies that transformations of unloaded types should not be transformed when they are loaded for the first
time but should rather be resubmitted after they are loaded.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitImmediate(ElementMatcher<String> typeNameMatcher,
ElementMatcher<? super ClassLoader> classLoaderMatcher)
Specifies that transformations of unloaded types should not be transformed when they are loaded for the first
time but should rather be resubmitted after they are loaded.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitImmediate(ElementMatcher<String> typeNameMatcher,
ElementMatcher<? super ClassLoader> classLoaderMatcher,
ElementMatcher<? super JavaModule> moduleMatcher)
Specifies that transformations of unloaded types should not be transformed when they are loaded for the first
time but should rather be resubmitted after they are loaded.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitOnError()
Specifies that transformations of unloaded types that yield an error are resubmitted as transformation of the
loaded type.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitOnError(AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher matcher)
Specifies that transformations of unloaded types that yield an error are resubmitted as transformation of the
loaded type, given that the specified matcher matches the type in question.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher)
Specifies that transformations of unloaded types that yield an error are resubmitted as transformation of the
loaded type, given that the specified matcher matches the type in question.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher,
ElementMatcher<String> typeNameMatcher)
Specifies that transformations of unloaded types that yield an error are resubmitted as transformation of the
loaded type, given that the specified matchers match the type in question.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher,
ElementMatcher<String> typeNameMatcher,
ElementMatcher<? super ClassLoader> classLoaderMatcher)
Specifies that transformations of unloaded types that yield an error are resubmitted as transformation of the
loaded type, given that the specified matchers match the type in question.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification |
resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher,
ElementMatcher<String> typeNameMatcher,
ElementMatcher<? super ClassLoader> classLoaderMatcher,
ElementMatcher<? super JavaModule> moduleMatcher)
Specifies that transformations of unloaded types that yield an error are resubmitted as transformation of the
loaded type, given that the specified matchers match the type in question.
|
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError()
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher)
exceptionMatcher
- Determines if a type should be resubmitted upon a given exception.AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher, ElementMatcher<String> typeNameMatcher)
exceptionMatcher
- Determines if a type should be resubmitted upon a given exception.typeNameMatcher
- Determines if a type should be resubmitted if the type has a given name.AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher, ElementMatcher<String> typeNameMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher)
exceptionMatcher
- Determines if a type should be resubmitted upon a given exception.typeNameMatcher
- Determines if a type should be resubmitted if the type has a given name.classLoaderMatcher
- Determines if a type should be resubmitted upon being loaded by a given class loader.AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher, ElementMatcher<String> typeNameMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher)
exceptionMatcher
- Determines if a type should be resubmitted upon a given exception.typeNameMatcher
- Determines if a type should be resubmitted if the type has a given name.classLoaderMatcher
- Determines if a type should be resubmitted upon being loaded by a given class loader.moduleMatcher
- Determines if a type should be resubmitted upon a given Java module.AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher matcher)
matcher
- Determines if a type should be resubmitted.AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate()
AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate(ElementMatcher<String> typeNameMatcher)
typeNameMatcher
- Determines if a type should be resubmitted if the type has a given name.AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate(ElementMatcher<String> typeNameMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher)
typeNameMatcher
- Determines if a type should be resubmitted if the type has a given name.classLoaderMatcher
- Determines if a type should be resubmitted upon being loaded by a given class loader.AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate(ElementMatcher<String> typeNameMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher)
typeNameMatcher
- Determines if a type should be resubmitted if the type has a given name.classLoaderMatcher
- Determines if a type should be resubmitted upon being loaded by a given class loader.moduleMatcher
- Determines if a type should be resubmitted upon a given Java module.AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate(AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher matcher)
matcher
- Determines if a type should be resubmitted.Copyright © 2014–2021. All rights reserved.