protected class AgentBuilder.Default.Redefining.WithResubmission extends AgentBuilder.Default.Delegator implements AgentBuilder.RedefinitionListenable.WithResubmissionSpecification
AgentBuilder.Default.Delegator.Matchable<S extends AgentBuilder.Matchable<S>>AgentBuilder.CircularityLock, AgentBuilder.ClassFileBufferStrategy, AgentBuilder.Default, AgentBuilder.DescriptionStrategy, AgentBuilder.FallbackStrategy, AgentBuilder.Identified, AgentBuilder.Ignored, AgentBuilder.InitializationStrategy, AgentBuilder.InjectionStrategy, AgentBuilder.InstallationListener, AgentBuilder.LambdaInstrumentationStrategy, AgentBuilder.Listener, AgentBuilder.LocationStrategy, AgentBuilder.Matchable<T extends AgentBuilder.Matchable<T>>, AgentBuilder.PatchMode, AgentBuilder.PoolStrategy, AgentBuilder.RawMatcher, AgentBuilder.RedefinitionListenable, AgentBuilder.RedefinitionStrategy, AgentBuilder.Transformer, AgentBuilder.TransformerDecorator, AgentBuilder.TypeStrategy| Modifier | Constructor and Description |
|---|---|
protected |
WithResubmission(AgentBuilder.RedefinitionStrategy.ResubmissionScheduler resubmissionScheduler,
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher resubmissionOnErrorMatcher,
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher resubmissionImmediateMatcher)
Creates a new delegator that applies resubmissions.
|
| Modifier and Type | Method and Description |
|---|---|
protected AgentBuilder |
materialize()
Materializes the currently described
AgentBuilder. |
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.
|
assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableClassFormatChanges, disableNativeMethodPrefix, enableNativeMethodPrefix, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, patchOn, patchOn, patchOn, patchOn, patchOnByteBuddyAgent, patchOnByteBuddyAgent, type, type, type, type, warmUp, warmUp, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeFromAndTo, assureReadEdgeTo, assureReadEdgeTo, assureReadEdgeTo, disableClassFormatChanges, disableNativeMethodPrefix, enableNativeMethodPrefix, ignore, ignore, ignore, ignore, installOn, installOnByteBuddyAgent, makeRaw, patchOn, patchOn, patchOn, patchOn, patchOnByteBuddyAgent, patchOnByteBuddyAgent, type, type, type, type, warmUp, warmUp, with, with, with, with, with, with, with, with, with, with, with, with, with, with, with, withprotected WithResubmission(AgentBuilder.RedefinitionStrategy.ResubmissionScheduler resubmissionScheduler, AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher resubmissionOnErrorMatcher, AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher resubmissionImmediateMatcher)
resubmissionScheduler - The resubmission scheduler to use.resubmissionOnErrorMatcher - A matcher to determine resubmissions on errors.resubmissionImmediateMatcher - A matcher to determine resubmissions without errors.protected AgentBuilder materialize()
AgentBuilder.Default.DelegatorAgentBuilder.materialize in class AgentBuilder.Default.Delegatorpublic AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError()
resubmitOnError in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationpublic AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher)
resubmitOnError in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationexceptionMatcher - Determines if a type should be resubmitted upon a given exception.public AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher, ElementMatcher<String> typeNameMatcher)
resubmitOnError in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationexceptionMatcher - 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.public AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher, ElementMatcher<String> typeNameMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher)
resubmitOnError in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationexceptionMatcher - 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.public AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(ElementMatcher<? super Throwable> exceptionMatcher, ElementMatcher<String> typeNameMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher)
resubmitOnError in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationexceptionMatcher - 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.public AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitOnError(AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher matcher)
resubmitOnError in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationmatcher - Determines if a type should be resubmitted.public AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate()
resubmitImmediate in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationpublic AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate(ElementMatcher<String> typeNameMatcher)
resubmitImmediate in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationtypeNameMatcher - Determines if a type should be resubmitted if the type has a given name.public AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate(ElementMatcher<String> typeNameMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher)
resubmitImmediate in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationtypeNameMatcher - 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.public AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate(ElementMatcher<String> typeNameMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher)
resubmitImmediate in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationtypeNameMatcher - 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.public AgentBuilder.RedefinitionListenable.WithResubmissionSpecification resubmitImmediate(AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher matcher)
resubmitImmediate in interface AgentBuilder.RedefinitionListenable.WithoutResubmissionSpecificationmatcher - Determines if a type should be resubmitted.Copyright © 2014–2025. All rights reserved.