- 浏览: 13242 次
- 性别:
- 来自: 天朝
最新评论
-
Norther:
我用hibernate spring webwork 给DOM ...
Spring容器外注入依赖 -
partech:
JRockit对AOP LTW做了优化,会快很多。
JVM 用 ...
Spring容器外注入依赖 -
Norther:
谢谢你,我搞定了,还挺麻烦。。呵呵不过性能差距太大我做了个测试 ...
Spring容器外注入依赖 -
quaff:
Norther 写道楼主,你好。。我没有试成功,我在sprin ...
Spring容器外注入依赖 -
Norther:
楼主,你好。。我没有试成功,我在spring的referenc ...
Spring容器外注入依赖
文章列表
先定义一个需要被introduce的interface
java 代码
public interface EditAware {
public Object getOldValue(String propertyName);
public boolean isEdited(String propertyName);
}
再写这个interface的mixin
java 代码
import org.aopalliance.intercept.MethodInvoca ...
package test;
import org.springframework.beans.factory.annotation.Configurable;
@Configurable("testBean")
public class TestBean {
private TestService testService;
public TestService getTestService() {
return testService;
}
public void setTestService(TestService testSer ...
AbstractRefreshableTargetSource在spring2.0里面才有
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.acegisecurity.intercept.web.FilterInvocationDefinitionSourceEditor;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.Log ...