develog

[Spring] beans xml schema 본문

Dev/Spring

[Spring] beans xml schema

냐옴 2014. 10. 15. 13:45

http://www.tutorialspoint.com/spring/spring_bean_definition.htm

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://www.springframework.org/schema/beans

    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">


   <!-- A simple bean definition -->

   <bean id="..." class="...">

       <!-- collaborators and configuration for this bean go here -->

   </bean>


   <!-- A bean definition with lazy init set on -->

   <bean id="..." class="..." lazy-init="true">

       <!-- collaborators and configuration for this bean go here -->

   </bean>


   <!-- A bean definition with initialization method -->

   <bean id="..." class="..." init-method="...">

       <!-- collaborators and configuration for this bean go here -->

   </bean>


   <!-- A bean definition with destruction method -->

   <bean id="..." class="..." destroy-method="...">

       <!-- collaborators and configuration for this bean go here -->

   </bean>


   <!-- more bean definitions go here -->


</beans>



xmlns="http://www.springframework.org/schema/beans"

xmlns:context="http://www.springframework.org/schema/context"

xmlns:aop="http://www.springframework.org/schema/aop"

xmlns:jdbc="http://www.springframework.org/schema/cache"

xmlns:jdbc="http://www.springframework.org/schema/jdbc"

xmlns:jee="http://www.springframework.org/schema/jee"

xmlns:jms="http://www.springframework.org/schema/jms"

xmlns:lang="http://www.springframework.org/schema/lang"

xmlns:tx="http://www.springframework.org/schema/tx"

xmlns:util="http://www.springframework.org/schema/util"


http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans.xsd


http://www.springframework.org/schema/context

http://www.springframework.org/schema/context/spring-context.xsd


http://www.springframework.org/schema/aop

http://www.springframework.org/schema/aop/spring-aop.xsd


http://www.springframework.org/schema/cache

http://www.springframework.org/schema/jdbc/spring-cache.xsd


http://www.springframework.org/schema/jdbc

http://www.springframework.org/schema/jdbc/spring-jdbc.xsd


http://www.springframework.org/schema/jee

http://www.springframework.org/schema/jee/spring-jee.xsd


http://www.springframework.org/schema/jms

http://www.springframework.org/schema/jms/spring-jms.xsd


http://www.springframework.org/schema/lang

http://www.springframework.org/schema/lang/spring-lang.xsd


http://www.springframework.org/schema/tx

http://www.springframework.org/schema/tx/spring-tx.xsd


http://www.springframework.org/schema/util

http://www.springframework.org/schema/util/spring-util.xsd



'Dev > Spring' 카테고리의 다른 글

[Spring] Spring 2.5, Properties #2  (0) 2014.11.11
[Spring] Spring 2.5, Properties  (0) 2014.11.10
Spring 에서 HttpServletRequest 접근  (0) 2013.12.11
LogAspect  (0) 2013.12.11
Spring AOP Pointcut expression  (0) 2013.12.11
Comments