SpringでHotdeploy その4
順番が前後してしまいましたが、Hotdeployに関連するクラス一覧をあげておきます。
SpringPlugin クラスをみてもらうとわかるのですが、JavaRabel は以下のクラスに対して Javassist で変更をかけています。
- org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor
- org.springframework.context.annotation.CommonAnnotationBeanPostProcessor
- org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor
- org.springframework.beans.CachedIntrospectionResults
- org.springframework.beans.factory.support.AbstractBeanFactory
- org.springframework.beans.factory.support.DefaultSingletonBeanRegistry
- org.springframework.beans.factory.xml.XmlBeanDefinitionReader
- org.springframework.context.annotation.ClassPathBeanDefinitionScanner
- org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping
- org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter
- org.springframework.web.servlet.handler.AbstractDetectingUrlHandlerMapping
- org.springframework.web.servlet.DispatcherServlet
このうち、最後の4つは SpringMVC 関連のクラスです。今回の案件では SpringMVC は利用しないので、こいつらは省略します。(DispatcherServletは本当はSpringMVC依存じゃないけど、今回は使わないので省略します。)