Class ManagedObservedPolicy
java.lang.Object
org.j7m.middleware.application.distributed.ManagedObservedPolicy
- All Implemented Interfaces:
org.j7m.middleware.application.components.ManagedInvocationPolicy
public final class ManagedObservedPolicy
extends Object
implements org.j7m.middleware.application.components.ManagedInvocationPolicy
Optional D15 adapter for finite host-named application spans. It creates no additional RPC span.
Observers are borrowed host resources; bindings never close their exporter. Span completion follows
settled user work and inner transaction/durable finalizers, before transport encoding.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.j7m.middleware.application.components.ManagedInvocationPolicy
org.j7m.middleware.application.components.ManagedInvocationPolicy.Binding, org.j7m.middleware.application.components.ManagedInvocationPolicy.Phase, org.j7m.middleware.application.components.ManagedInvocationPolicy.Proceed -
Constructor Summary
ConstructorsConstructorDescriptionManagedObservedPolicy(Map<String, org.j7m.middleware.integrations.Observability> observers) Installs explicit bounded observer profiles. -
Method Summary
Modifier and TypeMethodDescriptionSet<Class<? extends Annotation>> org.j7m.middleware.application.components.ManagedInvocationPolicy.Bindingbind(org.j7m.middleware.application.api.ManagedServiceContract contract, Class<?> implementation, Class<?> businessInterface) org.j7m.middleware.application.components.ManagedInvocationPolicy.Phasephase()voidMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.j7m.middleware.application.components.ManagedInvocationPolicy
bindHosted, validateComponent, validateExposure, validateHosted, validateHostedExposure, validateHostedExposure
-
Constructor Details
-
ManagedObservedPolicy
Installs explicit bounded observer profiles.- Parameters:
observers- at most64 names mapped to existing host-owned concrete D15 observers- Throws:
IllegalArgumentException- for invalid names or capacity
-
-
Method Details
-
phase
public org.j7m.middleware.application.components.ManagedInvocationPolicy.Phase phase()- Specified by:
phasein interfaceorg.j7m.middleware.application.components.ManagedInvocationPolicy
-
annotationTypes
- Specified by:
annotationTypesin interfaceorg.j7m.middleware.application.components.ManagedInvocationPolicy
-
validate
-
bind
public org.j7m.middleware.application.components.ManagedInvocationPolicy.Binding bind(org.j7m.middleware.application.api.ManagedServiceContract contract, Class<?> implementation, Class<?> businessInterface) - Specified by:
bindin interfaceorg.j7m.middleware.application.components.ManagedInvocationPolicy
-