Class ManagedDeduplicationPolicy
java.lang.Object
org.j7m.middleware.application.distributed.ManagedDeduplicationPolicy
- All Implemented Interfaces:
org.j7m.middleware.application.components.ManagedInvocationPolicy
public final class ManagedDeduplicationPolicy
extends Object
implements org.j7m.middleware.application.components.ManagedInvocationPolicy
Trusted durable replay adapter for authenticated managed method bodies.
The borrowed D12 client fixes the authenticated tenant partition; replay identities additionally
bind the actual principal, trust domain and full versioned method contract. Security precedes
this REPLAY phase on every attempt. Decoding and pure canonical codec functions precede claims;
this adapter does not promise exactly-once external effects or suppress all application code.
Retained native identities are finite, never recycled automatically, and expiry never reexecutes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordFinite host policy configuration; backend and codec are borrowed, never closed here.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
ConstructorsConstructorDescriptionInstalls at most256 named trusted registrations; applications cannot create capabilities by annotation. -
Method Summary
Modifier and TypeMethodDescriptionSet<Class<? extends Annotation>> Returns exactly the behaviors implemented by this trusted adapter.org.j7m.middleware.application.components.ManagedInvocationPolicy.Bindingbind(org.j7m.middleware.application.api.ManagedServiceContract contract, Class<?> implementation, Class<?> businessInterface) Binds an immutable export policy; closing revokes later invocations but does not delete journals.org.j7m.middleware.application.components.ManagedInvocationPolicy.Phasephase()Returns the fixed replay phase after authorization and ownership.voidvalidate(org.j7m.middleware.application.api.ManagedServiceContract contract, Class<?> implementation, Class<?> businessInterface) Validates complete effective annotation lineage before application construction.Methods 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
-
ManagedDeduplicationPolicy
Installs at most256 named trusted registrations; applications cannot create capabilities by annotation.- Parameters:
policies- immutable finite policy registry, IDs matching letters/digits/underscore/dot/hyphen- Throws:
IllegalArgumentException- for invalid names or capacity
-
-
Method Details
-
phase
public org.j7m.middleware.application.components.ManagedInvocationPolicy.Phase phase()Returns the fixed replay phase after authorization and ownership.- Specified by:
phasein interfaceorg.j7m.middleware.application.components.ManagedInvocationPolicy- Returns:
- replay phase
-
annotationTypes
Returns exactly the behaviors implemented by this trusted adapter.- Specified by:
annotationTypesin interfaceorg.j7m.middleware.application.components.ManagedInvocationPolicy- Returns:
- immutable deduplication and key marker types
-
validate
public void validate(org.j7m.middleware.application.api.ManagedServiceContract contract, Class<?> implementation, Class<?> businessInterface) Validates complete effective annotation lineage before application construction.- Specified by:
validatein interfaceorg.j7m.middleware.application.components.ManagedInvocationPolicy- Parameters:
contract- full public identityimplementation- actual implementationbusinessInterface- declared public contract- Throws:
IllegalArgumentException- for missing/ambiguous keys, unknown policies or unsupported OneWay
-
bind
public org.j7m.middleware.application.components.ManagedInvocationPolicy.Binding bind(org.j7m.middleware.application.api.ManagedServiceContract contract, Class<?> implementation, Class<?> businessInterface) Binds an immutable export policy; closing revokes later invocations but does not delete journals.- Specified by:
bindin interfaceorg.j7m.middleware.application.components.ManagedInvocationPolicy- Parameters:
contract- verified versioned methodimplementation- actual implementationbusinessInterface- declared interface- Returns:
- owned revocable policy binding
-