public class ModuleLifecycleLoggingBean extends Object
BroadleafModuleRegistration}| Constructor and Description |
|---|
ModuleLifecycleLoggingBean() |
ModuleLifecycleLoggingBean(String moduleName,
LifeCycleEvent lifeCycleEvent) |
| Modifier and Type | Method and Description |
|---|---|
LifeCycleEvent |
getLifeCycleEvent()
Retrieve the type of life cycle event for this logging message
|
String |
getModuleName()
The name of the module that this log message applies to
|
void |
init()
Initialize the bean and cause the logging message to take place
|
void |
setLifeCycleEvent(LifeCycleEvent lifeCycleEvent)
Set the type of life cycle event for this logging message
|
void |
setModuleName(String moduleName)
Set the name of the module that this log message applies to
|
public ModuleLifecycleLoggingBean()
public ModuleLifecycleLoggingBean(String moduleName, LifeCycleEvent lifeCycleEvent)
@PostConstruct public void init()
public LifeCycleEvent getLifeCycleEvent()
public void setLifeCycleEvent(LifeCycleEvent lifeCycleEvent)
lifeCycleEvent - life cycle event typepublic String getModuleName()
public void setModuleName(String moduleName)
moduleName - the module name for this logging messageCopyright © 2022. All rights reserved.