Package io.mats3
Interface MatsFactory.MatsWrapper<T>
- Type Parameters:
T
- the type of the wrapped instance.
- All Known Subinterfaces:
DeferredConnectionProxyDataSourceWrapper.DeferredConnectionProxy
- All Known Implementing Classes:
ConnectionFactoryWithStartStopWrapper
,ConnectionFactoryWrapper
,DataSourceWrapper
,DeferredConnectionProxyDataSourceWrapper
,JmsMatsTransactionManager_JmsAndSpringManagedSqlTx.DeferredConnectionProxyDataSourceWrapper_InfrastructureProxy
,MatsEndpoint.ProcessContextWrapper
,MatsFactory.MatsFactoryWrapper
,MatsInitiator.MatsInitiateWrapper
,ScenarioConnectionFactoryWrapper
,SpringJmsMatsFactoryWrapper
- 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.
-