I'M ASKING FOR THE SECOND TIME
i have a custom bean in context-service.xml and i'm using AIO archetype and my bean looks like these :
<!-- -->
<bean id="UtilBeanId" class="com.util.Utils">
<property name="serviceRegistry">
<ref bean="ServiceRegistry" />
</property>
</bean>
<!-- -->
and i want to inject UtilBeanId in onther class let's called CustomeClass
my custom Class look's like these
public CustomeClass implment TaskListner
{
//the bean i want to inject is here
private Utils utils
//setter and getter for utils
}
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.