KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am currently trying to inject Spring bean in AspectJ like the code shown below, anyhow I the server (WAS Liberty Profile) keep complaining the method aspectOf is missing. May I know how could I solve this problem? application-context.xml <aop:aspectj-autoproxy/> <import resource="/context-file-A.xml"/> context-file-A.xml <bean id="loggingAspect" class="com.huahsin.LoggingAspect" factory-method="aspectOf"> JAVA code @Aspect public class LoggingAspect { ... }
Tags (comma-separated)
Save Edits
Cancel