Interface BindingConnector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Host-owned exact-reference connector. It must not perform registry reselection, HA retries or
replay application calls. The selected identity and the invocation budget are explicit.
-
Method Summary
Modifier and TypeMethodDescriptionconnect(ObjectRef reference, Class<?> contract, ProxyOptions options) Connects one concrete identity without invoking a business method.default booleanprobe(ObjectRef reference, Class<?> contract, ProxyOptions options) Performs an optional read-only exact-identity reachability check.
-
Method Details
-
connect
Connects one concrete identity without invoking a business method.- Parameters:
reference- selected exact referencecontract- required ordinary business interfaceoptions- remaining invocation budget and safe proxy metadata- Returns:
- proxy implementing contract
- Throws:
IllegalStateException- if exact-reference connection is unsupported
-
probe
Performs an optional read-only exact-identity reachability check. Implementations must honor the supplied budget and must not call business methods or application lifecycle hooks. Unsupported transports return false; discovery alone never proves recovery.- Parameters:
reference- quarantined identitycontract- required interfaceoptions- bounded probe budget- Returns:
- true only after a positive read-only proof
-