Interface ManagedHostAdapter<T>
- Type Parameters:
T- application component type
- All Superinterfaces:
ManagedComponentDefinition<T>
- All Known Subinterfaces:
ManagedHostedAdapter<T>, ManagedJobDefinition<T>, ManagedPartitionDefinition<T>
Generated direct-call host adapter for an ordinary application component.
Host setup validates the complete trusted adapter allowlist before constructing components.
Metadata grants neither transport authorization nor a deployment capability by itself.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Objectinvoke(T instance, ManagedMethod method, Object[] arguments) Dispatches an exact generated method signature without reflective access.default voidlifecycle(T instance, ManagedLifecycle phase) Runs generated public lifecycle calls without reflective access.default booleanprobe(T instance, ManagedProbe descriptor) Invokes one explicitly generated public zero-argument boolean probe without reflective access.default List<ManagedProbe> probes()Returns explicit host-only probe descriptors; remote export remains independently restricted.default List<ManagedMethod> Returns explicitly exported full signatures; type-level export intent alone is insufficient.Methods inherited from interface ManagedComponentDefinition
create, dependencies, inject, name, owned, qualifiers, scope, type
-
Method Details
-
lifecycle
Runs generated public lifecycle calls without reflective access.- Parameters:
instance- component owned by this activationphase- requested lifecycle phase- Throws:
Exception- if application lifecycle code fails
-
remoteMethods
Returns explicitly exported full signatures; type-level export intent alone is insufficient.- Returns:
- finite immutable explicit method allowlist
-
probes
Returns explicit host-only probe descriptors; remote export remains independently restricted.- Returns:
- immutable finite probe declarations, empty by default
-
probe
Invokes one explicitly generated public zero-argument boolean probe without reflective access.- Parameters:
instance- activation-owned componentdescriptor- exact generated probe identity- Returns:
- application probe result
- Throws:
Exception- if the probe is unsupported or application code fails
-
invoke
Dispatches an exact generated method signature without reflective access.- Parameters:
instance- component owned by this activationmethod- complete Java signature already bound to a verified service contractarguments- ordered arguments validated by the transport- Returns:
- result, or null for void
- Throws:
Exception- if the signature is denied or application code fails
-