当前位置: 首页>>代码示例>>Java>>正文


Java ManagementMBeanAssembler类代码示例

本文整理汇总了Java中org.apache.camel.spi.ManagementMBeanAssembler的典型用法代码示例。如果您正苦于以下问题:Java ManagementMBeanAssembler类的具体用法?Java ManagementMBeanAssembler怎么用?Java ManagementMBeanAssembler使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ManagementMBeanAssembler类属于org.apache.camel.spi包,在下文中一共展示了ManagementMBeanAssembler类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: register

import org.apache.camel.spi.ManagementMBeanAssembler; //导入依赖的package包/类
public void register(Object obj, ObjectName name, boolean forceRegistration) throws JMException {
    try {
        registerMBeanWithServer(obj, name, forceRegistration);
    } catch (NotCompliantMBeanException e) {
        // If this is not a "normal" MBean, then try to deploy it using JMX annotations
        ManagementMBeanAssembler assembler = camelContext.getManagementMBeanAssembler();
        ObjectHelper.notNull(assembler, "ManagementMBeanAssembler", camelContext);
        Object mbean = assembler.assemble(server, obj, name);
        if (mbean != null) {
            // and register the mbean
            registerMBeanWithServer(mbean, name, forceRegistration);
        }
    }
}
 
开发者ID:HydAu,项目名称:Camel,代码行数:15,代码来源:DefaultManagementAgent.java

示例2: getManagementMBeanAssembler

import org.apache.camel.spi.ManagementMBeanAssembler; //导入依赖的package包/类
public ManagementMBeanAssembler getManagementMBeanAssembler() {
    return managementMBeanAssembler;
}
 
开发者ID:HydAu,项目名称:Camel,代码行数:4,代码来源:DefaultCamelContext.java

示例3: setManagementMBeanAssembler

import org.apache.camel.spi.ManagementMBeanAssembler; //导入依赖的package包/类
public void setManagementMBeanAssembler(ManagementMBeanAssembler managementMBeanAssembler) {
    this.managementMBeanAssembler = managementMBeanAssembler;
}
 
开发者ID:HydAu,项目名称:Camel,代码行数:4,代码来源:DefaultCamelContext.java

示例4: createManagementMBeanAssembler

import org.apache.camel.spi.ManagementMBeanAssembler; //导入依赖的package包/类
/**
 * Lazily create a default implementation
 */
protected ManagementMBeanAssembler createManagementMBeanAssembler() {
    return new DefaultManagementMBeanAssembler(this);
}
 
开发者ID:HydAu,项目名称:Camel,代码行数:7,代码来源:DefaultCamelContext.java

示例5: createManagementMBeanAssembler

import org.apache.camel.spi.ManagementMBeanAssembler; //导入依赖的package包/类
@Override
protected ManagementMBeanAssembler createManagementMBeanAssembler() {
    // use a spring mbean assembler
    return new SpringManagementMBeanAssembler(this);
}
 
开发者ID:HydAu,项目名称:Camel,代码行数:6,代码来源:SpringCamelContext.java

示例6: getManagementMBeanAssembler

import org.apache.camel.spi.ManagementMBeanAssembler; //导入依赖的package包/类
@Override
public ManagementMBeanAssembler getManagementMBeanAssembler() {
  return context.getManagementMBeanAssembler();
}
 
开发者ID:rvs-fluid-it,项目名称:microservice-bundle,代码行数:5,代码来源:ManagedCamelContext.java

示例7: getManagementMBeanAssembler

import org.apache.camel.spi.ManagementMBeanAssembler; //导入依赖的package包/类
@Override
public ManagementMBeanAssembler getManagementMBeanAssembler() {
    return context.getManagementMBeanAssembler();
}
 
开发者ID:commercehub-oss,项目名称:dropwizard-camel,代码行数:5,代码来源:ManagedCamelContext.java

示例8: getManagementMBeanAssembler

import org.apache.camel.spi.ManagementMBeanAssembler; //导入依赖的package包/类
/**
 * Returns the management mbean assembler
 *
 * @return the mbean assembler
 */
ManagementMBeanAssembler getManagementMBeanAssembler();
 
开发者ID:HydAu,项目名称:Camel,代码行数:7,代码来源:CamelContext.java


注:本文中的org.apache.camel.spi.ManagementMBeanAssembler类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。