Announcement Announcement Module
Collapse
No announcement yet.
MBean problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MBean problem

    I have piece of code :

    Code:
    			logger.info("\n\n\nAAA");
    			Lifecycle mxglife=(Lifecycle)(SystemAdmin.context.getBean("mxgproxy"));
    			logger.info("\n\n\nBBBB");
    code never prints BBBB. Application context for mxgproxy is defind as a static variable in a class SystemAdmin. No errors are reported in a log file. Aby idea why the line

    Code:
    Lifecycle mxglife=(Lifecycle)(SystemAdmin.context.getBean("mxgproxy"));
    never returns ?
Working...
X