Package org.ametys.runtime.log
Class ExternalLogExtensionPoint
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<ExternalLog>
-
- org.ametys.runtime.log.ExternalLogExtensionPoint
-
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<ExternalLog>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class ExternalLogExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<ExternalLog>
ExtensionPoint
handling theExternalLog
s.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROLE
Avalon Role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description ExternalLogExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private MemoryAppender
_getMemoryAppender()
Get the memory-appendervoid
initializeExtensions()
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
ExternalLogExtensionPoint
public ExternalLogExtensionPoint()
-
-
Method Detail
-
initializeExtensions
public void initializeExtensions() throws Exception
Description copied from interface:ExtensionPoint
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.- Specified by:
initializeExtensions
in interfaceExtensionPoint<ExternalLog>
- Overrides:
initializeExtensions
in classAbstractThreadSafeComponentExtensionPoint<ExternalLog>
- Throws:
Exception
- if something wrong occurs
-
_getMemoryAppender
private MemoryAppender _getMemoryAppender()
Get the memory-appender- Returns:
- the memory appender of the application, or null if none found
-
-