@Component(value="cuba_EntityLogMBean") public class EntityLog extends java.lang.Object implements EntityLogMBean
Modifier and Type | Field and Description |
---|---|
protected EntityLogAPI |
entityLog |
Constructor and Description |
---|
EntityLog() |
Modifier and Type | Method and Description |
---|---|
void |
invalidateCache()
Invalidates configuration cache.
|
boolean |
isEnabled()
Is logging enabled?
|
void |
setEnabled(boolean enabled)
Enables or disables logging
|
@Inject protected EntityLogAPI entityLog
public boolean isEnabled()
EntityLogMBean
isEnabled
in interface EntityLogMBean
public void setEnabled(boolean enabled)
EntityLogMBean
setEnabled
in interface EntityLogMBean
public void invalidateCache()
EntityLogMBean
invalidateCache
in interface EntityLogMBean