Skip to content

Commit

Permalink
Merge pull request #540 from smirzai/fixJmxLoggers
Browse files Browse the repository at this point in the history
fixed logging and description typos in JMX module
  • Loading branch information
tijsrademakers committed Mar 10, 2015
2 parents 2e8aa7b + 9bddb78 commit 715113f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
public class DefaultManagementMBeanAssembler implements ManagementMBeanAssembler {

private static final Logger LOG = LoggerFactory.getLogger(DefaultManagementAgent.class);
private static final Logger LOG = LoggerFactory.getLogger(DefaultManagementMBeanAssembler.class);

protected final MBeanInfoAssembler assembler;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

public class MBeanInfoAssembler {

private static final Logger LOG = LoggerFactory.getLogger(DefaultManagementAgent.class);
private static final Logger LOG = LoggerFactory.getLogger(MBeanInfoAssembler.class);

protected final WeakHashMap<Class< ? >, MBeanAttributesAndOperations> cache = new WeakHashMap<Class< ? >, MBeanAttributesAndOperations>(10);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/**
* @author Saeid Mirzaei
*/
@ManagedResource(description = "Process definition MBean")
@ManagedResource(description = "Job executor MBean")
public class JobExecutorMBean {

JobExecutor jobExecutor;
Expand All @@ -34,7 +34,7 @@ public JobExecutorMBean(ProcessEngineConfiguration processEngineConfig) {

@ManagedAttribute(description = "check if the job executor is activated")
public boolean isJobExecutorActivated() {
return jobExecutor == null || jobExecutor.isActive();
return jobExecutor != null && jobExecutor.isActive();
}

@ManagedOperation(description = "set job executor activate")
Expand Down

0 comments on commit 715113f

Please sign in to comment.