org.springframework.jmx.support.WebSphereMBeanServerFactoryBean Java Examples
The following examples show how to use
org.springframework.jmx.support.WebSphereMBeanServerFactoryBean.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MBeanServerBeanDefinitionParser.java From spring-analysis-note with MIT License | 5 votes |
@Nullable static AbstractBeanDefinition findServerForSpecialEnvironment() { if (weblogicPresent) { RootBeanDefinition bd = new RootBeanDefinition(JndiObjectFactoryBean.class); bd.getPropertyValues().add("jndiName", "java:comp/env/jmx/runtime"); return bd; } else if (webspherePresent) { return new RootBeanDefinition(WebSphereMBeanServerFactoryBean.class); } else { return null; } }
Example #2
Source File: MBeanServerBeanDefinitionParser.java From java-technology-stack with MIT License | 5 votes |
@Nullable static AbstractBeanDefinition findServerForSpecialEnvironment() { if (weblogicPresent) { RootBeanDefinition bd = new RootBeanDefinition(JndiObjectFactoryBean.class); bd.getPropertyValues().add("jndiName", "java:comp/env/jmx/runtime"); return bd; } else if (webspherePresent) { return new RootBeanDefinition(WebSphereMBeanServerFactoryBean.class); } else { return null; } }
Example #3
Source File: MBeanServerBeanDefinitionParser.java From lams with GNU General Public License v2.0 | 5 votes |
static AbstractBeanDefinition findServerForSpecialEnvironment() { if (weblogicPresent) { RootBeanDefinition bd = new RootBeanDefinition(JndiObjectFactoryBean.class); bd.getPropertyValues().add("jndiName", "java:comp/env/jmx/runtime"); return bd; } else if (webspherePresent) { return new RootBeanDefinition(WebSphereMBeanServerFactoryBean.class); } else { return null; } }
Example #4
Source File: MBeanServerBeanDefinitionParser.java From spring4-understanding with Apache License 2.0 | 5 votes |
static AbstractBeanDefinition findServerForSpecialEnvironment() { if (weblogicPresent) { RootBeanDefinition bd = new RootBeanDefinition(JndiObjectFactoryBean.class); bd.getPropertyValues().add("jndiName", "java:comp/env/jmx/runtime"); return bd; } else if (webspherePresent) { return new RootBeanDefinition(WebSphereMBeanServerFactoryBean.class); } else { return null; } }
Example #5
Source File: MBeanExportConfiguration.java From spring-analysis-note with MIT License | 4 votes |
@Override public MBeanServer getMBeanServer() { WebSphereMBeanServerFactoryBean fb = new WebSphereMBeanServerFactoryBean(); fb.afterPropertiesSet(); return fb.getObject(); }
Example #6
Source File: MBeanExportConfiguration.java From java-technology-stack with MIT License | 4 votes |
@Override public MBeanServer getMBeanServer() { WebSphereMBeanServerFactoryBean fb = new WebSphereMBeanServerFactoryBean(); fb.afterPropertiesSet(); return fb.getObject(); }
Example #7
Source File: MBeanExportConfiguration.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public MBeanServer getMBeanServer() { WebSphereMBeanServerFactoryBean fb = new WebSphereMBeanServerFactoryBean(); fb.afterPropertiesSet(); return fb.getObject(); }
Example #8
Source File: MBeanExportConfiguration.java From spring4-understanding with Apache License 2.0 | 4 votes |
@Override public MBeanServer getMBeanServer() { WebSphereMBeanServerFactoryBean fb = new WebSphereMBeanServerFactoryBean(); fb.afterPropertiesSet(); return fb.getObject(); }