Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Injecting a component in a non-spring environment

We have an aspect, named BusinessRuleAspect, in our code base that is used on
the client side and on the server side of the project. On the server side we
have spring, and the component is injected from the application context:

	<bean id="businessRuleAspect"
class="com.fugro.gwf.domain.rules.aspects.BusinessRuleAspect"
		factory-method="aspectOf">
		<property name="businessRuleManager" ref="businessRuleManager" />
	</bean>

The question: on the client side we don't have spring, what is the best way
of injecting the businessRuleManager component in the aspect in such a case?



--
View this message in context: http://aspectj.2085585.n4.nabble.com/Injecting-a-component-in-a-non-spring-environment-tp4651384.html
Sent from the AspectJ - users mailing list archive at Nabble.com.


Back to the top