28 Jul
2008
28 Jul
'08
3:32 a.m.
Hi, I want to change some class to plexus component. I see some code of xwiki. I have 2 questions. 1. Only adding "String ROLE = **.class.getName()" in a class, can change a normal class to plexus component? Should I write some plexus config file in somewhere? 2. How to get a plexus components? Use a componentManagement.getComponent(ROLE) can get a component, but I don't know how to get the componentManagement. Forget me if those two question is too stupid. Thanks. Wang Ning