Class AbstractLoggingBean
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- Direct Known Subclasses:
AbstractAgentClient
,AbstractAgentProxy
,AbstractCommandSupport
,AbstractConnectionServiceFactory
,AbstractConnectionServiceRequestHandler
,AbstractDelegatingCommandFactory
,AbstractDHKeyExchange
,AbstractIdentityResourceLoader
,AbstractIoServiceFactoryFactory
,AbstractKeyPairProvider
,AbstractKeyPairResourceParser
,AbstractRequestHandler
,AbstractScpClient
,AbstractScpClientCreator
,AbstractScpTransferEventListenerAdapter
,AbstractSecurityProviderRegistrar
,AbstractSessionIoHandler
,AbstractSftpClientExtension
,AbstractSftpEventListenerAdapter
,AbstractSftpFileAttributeView
,AbstractSftpSubsystemHelper
,AbstractSimpleClient
,AbstractSshFuture
,AbstractSubsystemClient
,AbstractUserAuth
,AbstractUserAuth
,AbstractUserAuthMethodFactory
,AbstractUserAuthServiceFactory
,AgentServerProxy
,CachingPublicKeyAuthenticator
,ClientChannelPendingMessagesQueue
,DefaultClientKexExtensionHandler
,DefaultKeyboardInteractiveAuthenticator
,DefaultScpFileOpener
,DefaultSftpClientFactory
,DefaultUnknownChannelReferenceHandler
,DelegatingServerKeyVerifier
,InvertedShellWrapper
,IoBaseCloseable
,JaasPasswordAuthenticator
,KeySetPublickeyAuthenticator
,LocalFileScpSourceStreamResolver
,LocalFileScpTargetStreamResolver
,ModifiableFileWatcher
,NativeFileSystemFactory
,NetworkConnector
,PipeDataReceiver
,ProcessShell
,ProcessShellFactory
,RequiredServerKeyVerifier
,ReservedSessionMessagesHandlerAdapter
,ScpHelper
,SessionTimeoutListener
,SftpDirEntryIterator
,SimpleScpClientImpl
,SimpleSftpClientImpl
,SshdThreadFactory
,StandardEnvironment
,StaticDecisionForwardingFilter
,StaticHostBasedAuthenticator
,StaticPasswordAuthenticator
,StaticPublickeyAuthenticator
,StaticServerKeyVerifier
,Window
public abstract class AbstractLoggingBean extends java.lang.Object
Serves as a common base class for the vast majority of classes that require some kind of logging. Facilitates quick and easy replacement of the actual used logger from one framework to another
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
log
private java.util.concurrent.atomic.AtomicReference<SimplifiedLog>
simplifiedLog
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractLoggingBean()
Default constructor - creates a logger using the full class nameprotected
AbstractLoggingBean(java.lang.String discriminator)
Create a logger for instances of the same class for which we might want to have a "discriminator" for them
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SimplifiedLog
getSimplifiedLogger()
-
-
-
Field Detail
-
log
protected final org.slf4j.Logger log
-
simplifiedLog
private final java.util.concurrent.atomic.AtomicReference<SimplifiedLog> simplifiedLog
-
-
Constructor Detail
-
AbstractLoggingBean
protected AbstractLoggingBean()
Default constructor - creates a logger using the full class name
-
AbstractLoggingBean
protected AbstractLoggingBean(java.lang.String discriminator)
Create a logger for instances of the same class for which we might want to have a "discriminator" for them- Parameters:
discriminator
- The discriminator value - ignored ifnull
or empty
-
-
Method Detail
-
getSimplifiedLogger
protected SimplifiedLog getSimplifiedLogger()
-
-