applicationcontext
Spring application context encryption
Is there any way that I could encrypt the application context entries, for example: <bean id=\"securityDataSource\" class=\"org.springframework.jdbc.datasource.DriverManagerDataSource\">[详细]
2023-04-10 17:32 分类:问答Spring 3 in jar configuration (auto configuration)
I\'m looking for some kind of \"best practice\" informations about Spring jar configuration. I have a web project (war) and I need connect some jar libraries - my jars wh开发者_开发技巧ich contains ad[详细]
2023-04-09 19:39 分类:问答Passing presentation (Struts) parameters to (Spring) ApplicationContext and use them in Hibernate Interceptor
I\'m sorry for the long title, but I knew no other way to be specific. What I have: I\'m developing an Audit Trail module that uses a Hibernate Interceptor to intercept Hibernate calls and add audit[详细]
2023-04-05 03:20 分类:问答Loading context from within a Jar
I need some clarification; I have a jar that I built and inside of the jar it has a custom application-context.xml file that I need to load. I load the file within a class inside of the jar. When I am[详细]
2023-03-06 20:21 分类:问答Is it possible to inject a context into another context?
Maybe the question isn\'t that clear, but with an example, I guess I\'ll clear it out. In my project, I have two kinds of tests: integration tests and scenario tests. They both need a datasource (with[详细]
2023-03-05 08:48 分类:问答Always inject some fields in a Spring service through the context
I\'ve got the following class: @Service public class TestService{ @Autowired private Integer size; private MyClass myObject;[详细]
2023-03-04 13:59 分类:问答Spring ApplicationListener is not receiving events
I have the following ApplicationListener: package org.mycompany.listeners; import org.springframework.context.ApplicationListener;[详细]
2023-02-28 02:18 分类:问答Bean is initialized with @Controller but @RequestMapping doesn't get called
Below is my setup for the new Spring 3 annotation based controller: // dispatcher-servlet.xml <?xml version=\"1.0\" encoding=\"UTF-8\"?>[详细]
2023-02-21 17:45 分类:问答How to inject ApplicationContext itself
I want to inject an ApplicationContext itself to a bean. Something like public void setApplicationContext(ApplicationContect 开发者_Go百科context) {[详细]
2023-02-08 16:40 分类:问答Spring hierarchical context
I have following problem: I\'m trying to implement Spring in existing ear application (using Jbos开发者_StackOverflow社区s as App Server and Hibernate as ORM).[详细]
2023-01-22 08:25 分类:问答