Package org.apache.servicemix.jbi.management

Examples of org.apache.servicemix.jbi.management.AttributeInfoHelper.addAttribute()


     * @throws JMException
     */
    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "dumpStats", "Periodically dump Component statistics");
        helper.addAttribute(getObjectToManage(), "statsInterval", "Interval (secs) before dumping statistics");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
    }

    public File getJbiRootDir() {
        return jbiRootDir;
View Full Code Here


     * @see org.apache.servicemix.jbi.management.MBeanInfoProvider#getAttributeInfos()
     */
    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        // TODO: this should not be an attribute, as it can require access to database
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "exchangeCount", "number of exchanges");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
    }
   
    /* (non-Javadoc)
     * @see org.apache.servicemix.jbi.management.MBeanInfoProvider#getOperationInfos()
View Full Code Here

     * @return array of AttributeInfos
     * @throws JMException
     */
    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "monitorInstallationDirectory", "Periodically monitor the Installation directory");
        helper.addAttribute(getObjectToManage(), "monitorInterval", "Interval (secs) before monitoring");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
    }

    /**
 
View Full Code Here

     * @throws JMException
     */
    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "monitorInstallationDirectory", "Periodically monitor the Installation directory");
        helper.addAttribute(getObjectToManage(), "monitorInterval", "Interval (secs) before monitoring");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
    }

    /**
     * Unpack a location into a temp file directory. If the location does not
View Full Code Here

     * @return array of AttributeInfos
     * @throws JMException
     */
    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "componentNames", "list of components");
        helper.addAttribute(getObjectToManage(), "serviceUnitNames", "list of service units");
        helper.addAttribute(getObjectToManage(), "serviceAssemblyNames", "list of service assemblies");
        helper.addAttribute(getObjectToManage(), "endpointNames", "list of endpoints");
        helper.addAttribute(getObjectToManage(), "sharedLibraryNames", "list of shared libraries");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
View Full Code Here

     * @throws JMException
     */
    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "componentNames", "list of components");
        helper.addAttribute(getObjectToManage(), "serviceUnitNames", "list of service units");
        helper.addAttribute(getObjectToManage(), "serviceAssemblyNames", "list of service assemblies");
        helper.addAttribute(getObjectToManage(), "endpointNames", "list of endpoints");
        helper.addAttribute(getObjectToManage(), "sharedLibraryNames", "list of shared libraries");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
    }
View Full Code Here

     */
    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "componentNames", "list of components");
        helper.addAttribute(getObjectToManage(), "serviceUnitNames", "list of service units");
        helper.addAttribute(getObjectToManage(), "serviceAssemblyNames", "list of service assemblies");
        helper.addAttribute(getObjectToManage(), "endpointNames", "list of endpoints");
        helper.addAttribute(getObjectToManage(), "sharedLibraryNames", "list of shared libraries");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
    }

View Full Code Here

    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "componentNames", "list of components");
        helper.addAttribute(getObjectToManage(), "serviceUnitNames", "list of service units");
        helper.addAttribute(getObjectToManage(), "serviceAssemblyNames", "list of service assemblies");
        helper.addAttribute(getObjectToManage(), "endpointNames", "list of endpoints");
        helper.addAttribute(getObjectToManage(), "sharedLibraryNames", "list of shared libraries");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
    }

    /**
 
View Full Code Here

        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "componentNames", "list of components");
        helper.addAttribute(getObjectToManage(), "serviceUnitNames", "list of service units");
        helper.addAttribute(getObjectToManage(), "serviceAssemblyNames", "list of service assemblies");
        helper.addAttribute(getObjectToManage(), "endpointNames", "list of endpoints");
        helper.addAttribute(getObjectToManage(), "sharedLibraryNames", "list of shared libraries");
        return AttributeInfoHelper.join(super.getAttributeInfos(), helper.getAttributeInfos());
    }

    /**
     * Cancel pending exchanges in all components
View Full Code Here

        }
    }

    public MBeanAttributeInfo[] getAttributeInfos() throws JMException {
        AttributeInfoHelper helper = new AttributeInfoHelper();
        helper.addAttribute(getObjectToManage(), "endpointName", "name of the endpoint");
        helper.addAttribute(getObjectToManage(), "serviceName", "name of the service");
        helper.addAttribute(getObjectToManage(), "componentName", "component name of the service unit");
        helper.addAttribute(getObjectToManage(), "interfaces", "interfaces implemented by this endpoint");
        return helper.getAttributeInfos();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.