mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-18 01:06:03 +10:00
mysql 설정 추가 (local 환경만 있기 때문에 local에서만 실행가능 실행하기 위해서는 applicationContext.xml의 주석을 제거하고 실행 해야 합니다.) git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-web/trunk@3769 84d0f5b1-2673-498c-a247-62c4ff18d310
49 lines
2.6 KiB
XML
49 lines
2.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
|
xmlns:lang="http://www.springframework.org/schema/lang"
|
|
xmlns:beans="http://www.springframework.org/schema/beans"
|
|
xmlns:util="http://www.springframework.org/schema/util" xmlns:jdbc="http://www.springframework.org/schema/jdbc"
|
|
xmlns:hdp="http://www.springframework.org/schema/hadoop"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
|
|
http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang.xsd
|
|
|
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
|
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
|
|
http://www.springframework.org/schema/hadoop http://www.springframework.org/schema/hadoop/spring-hadoop.xsd">
|
|
|
|
<context:annotation-config/>
|
|
|
|
<context:component-scan base-package="com.nhn.pinpoint.web.dao.hbase,
|
|
com.nhn.pinpoint.web.service,
|
|
com.nhn.pinpoint.web.mapper,
|
|
com.nhn.pinpoint.web.filter" />
|
|
|
|
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
|
<property name="locations">
|
|
<list>
|
|
<value>classpath:hbase.properties</value>
|
|
<!-- <value>classpath:jdbc.properties</value>
|
|
-->
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<import resource="classpath:applicationContext-hbase.xml" />
|
|
<!--<import resource="classpath:applicationContext-datasource.xml" />-->
|
|
<!--<import resource="classpath:applicationContext-cache.xml" />-->
|
|
|
|
<bean id="spanMapper" class="com.nhn.pinpoint.web.mapper.SpanMapper"></bean>
|
|
<bean id="annotationMapper" class="com.nhn.pinpoint.web.mapper.AnnotationMapper"></bean>
|
|
<bean id="spanAnnotationMapper" class="com.nhn.pinpoint.web.mapper.SpanMapper">
|
|
<property name="annotationMapper" ref="annotationMapper"/>
|
|
</bean>
|
|
|
|
<bean id="jsonObjectMapper" class="com.fasterxml.jackson.databind.ObjectMapper"></bean>
|
|
|
|
<bean id="rangeFactory" class="com.nhn.pinpoint.web.vo.RangeFactory"></bean>
|
|
|
|
</beans>
|