Package org.frankframework.core
Interface CanUseSharedResource<T>
- All Superinterfaces:
org.springframework.context.ApplicationContextAware,org.springframework.beans.factory.Aware,ConfigurableLifecycle,FrankElement,HasApplicationContext,HasName,IConfigurable,IScopeProvider,org.springframework.context.Lifecycle,org.springframework.context.Phased,org.springframework.context.SmartLifecycle
- All Known Implementing Classes:
AbstractHttpSender,CmisHttpSender,HttpSender,MsalClientAdapter,NetStorageSender,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 TgetSharedResource(String sharedResourceName) Retrieve the shared resource from SpringvoidsetSharedResourceRef(String sharedResourceName) Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.frankframework.lifecycle.ConfigurableLifecycle
getPhase, isAutoStartup, isConfigured, startMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.core.IConfigurable
configureMethods inherited from interface org.springframework.context.Lifecycle
isRunning, stopMethods 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.