All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mes.james-server-spring-app.3.8.2.source-code.jetm-monitoring.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
/**
 * Copyright 2010 The Apache Software Foundation
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<beans xmlns="http://www.springframework.org/schema/beans"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:jetm="http://jetm.void.fm/schema/jetm_spring_config_1_2"
  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  http://jetm.void.fm/schema/jetm_spring_config_1_2 http://jetm.void.fm/schema/jetm_spring_config_1_2.xsd">

    <!--
    Jetm performance monitoring - you can report performance metrics via: 
    console, HTTP console and JMX. Please see http://jetm.void.fm/doc.html for details
    -->
    <bean id="etmMonitor" class="etm.core.monitor.NestedMonitor"
          init-method="start" destroy-method="stop" />
    <bean id="etmHttpConsole" class="etm.contrib.console.HttpConsoleServer"
          init-method="start" destroy-method="stop" autowire="constructor"/>

    <bean id="etmMethodCallInterceptor"
          class="etm.contrib.aop.aopalliance.EtmMethodCallInterceptor"
          autowire="constructor"/>

    <bean id="etmAutoProxy"
          class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
        <property name="interceptorNames">
            <list>
                <value>etmMethodCallInterceptor</value>
            </list>
        </property>
        <!-- add the beans that you wish to monitor to the list bellow -->
        <property name="beanNames">
            <list>
                <value>usersrepository</value>
                <value>recipientrewritetable</value>
                <value>domainlist</value>
                <value>mailrepositorystore</value>
                <!--
            The folowing beans require CGLIB2 to be on the classpath -->
                <!--
            <value>mailqueuefactory</value>
            <value>blobTransferPolicy</value>
            <value>jmsConnectionFactory</value>
            -->
                <value>jmsTransactionManager</value>
                <value>mailprocessor</value>
                <value>mailetcontext</value>
                <value>mailspooler</value>
                <value>mailetloader</value>
                <value>matcherloader</value>
                <value>filesystem</value>
                <value>dnsservice</value>
                <value>fetchmail</value>
                <value>smtpserver</value>
                <value>pop3server</value>
                <value>lmtpserver</value>
                <value>imapserver</value>
                <value>imapDecoder</value>
                <value>imapEncoder</value>
                <value>locker</value>
                <value>datasource</value>
            </list>
        </property>
    </bean>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy