Package org.frankframework.core
Interface CanUseSharedResource<T>
- All Superinterfaces:
org.springframework.context.ApplicationContextAware
,org.springframework.beans.factory.Aware
,ConfigurableLifecycle
,IConfigurable
,IConfigurationAware
,INamedObject
,IScopeProvider
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
- All Known Implementing Classes:
AbstractHttpSender
,HttpSender
,MultipartHttpSender
,RestSender
,WebServiceSender
-
Field Summary
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Method Summary
Modifier and TypeMethodDescriptionUsed to validate the expected type so now unexpected ClassCastExceptions can occur.default T
getSharedResource
(String sharedResourceName) Retrieve the shared resource from Springvoid
setSharedResourceRef
(String sharedResourceName) Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
Methods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
configure, getPhase, isAutoStartup
Methods inherited from interface org.frankframework.core.IConfigurable
configure
Methods inherited from interface org.frankframework.core.IConfigurationAware
getApplicationContext, getName
Methods inherited from interface org.frankframework.core.INamedObject
getName, setName
Methods inherited from interface org.frankframework.core.IScopeProvider
getConfigurationClassLoader
Methods inherited from interface org.springframework.context.Lifecycle
isRunning, start, stop
Methods inherited from interface org.springframework.context.SmartLifecycle
stop
-
Method Details
-
getObjectType
Used to validate the expected type so now unexpected ClassCastExceptions can occur. May be NULL in which case this check will be skipped and the SharedResource will be returned regardless.