Package io.mats3
Interface MatsFactory.MatsWrapper<T>
- Type Parameters:
T
- the type of the wrapped instance.
- All Known Implementing Classes:
MatsEndpoint.ProcessContextWrapper
,MatsFactory.MatsFactoryWrapper
,MatsInitiator.MatsInitiateWrapper
- Enclosing interface:
- MatsFactory
public static interface MatsFactory.MatsWrapper<T>
Base Wrapper interface which Mats-specific Wrappers implements, defining four "wrappee" methods.
-
Method Summary
-
Method Details
-
setWrappee
-
unwrap
T unwrap() -
unwrapTo
-
unwrapFully
- Returns:
- the fully unwrapped instance: If the returned instance from
unwrap()
is itself aMatsWrapper
, it will recurse down by invoking this method (unwrapFully()
) again on the returned target.
-