Thanks again, Vincent! Yup, ComponentDescriptorFactory did the
magic :-D
On Dec 4, 2009, at 1:39 AM, Vincent Massol wrote:
>
> On Dec 3, 2009, at 4:34 PM, Lewis Denizen wrote:
>
>> Thanks Vincent! That's exactly what I needed :-) Just one more
>> question,
>> though.. Is it possible to inj
On Dec 3, 2009, at 5:14 PM, Lewis Denizen wrote:
> Actually... seems like componentDescriptor.addComponentDependency()
> doesn't
> add the dependency either :-( Just ends up being null when
> retrieving it.
> Is there something that needs to be done before injection happens on
> these
> o
On Dec 3, 2009, at 4:34 PM, Lewis Denizen wrote:
> Thanks Vincent! That's exactly what I needed :-) Just one more
> question,
> though.. Is it possible to inject dependencies by using the
> attributes
> defined within the class then? Right now, using the
> DefaultComponentDescriptor, I ca
Actually... seems like componentDescriptor.addComponentDependency() doesn't
add the dependency either :-( Just ends up being null when retrieving it.
Is there something that needs to be done before injection happens on these
objects?
On Fri, Dec 4, 2009 at 12:34 AM, Lewis Denizen wrote:
> Than
Thanks Vincent! That's exactly what I needed :-) Just one more question,
though.. Is it possible to inject dependencies by using the attributes
defined within the class then? Right now, using the
DefaultComponentDescriptor, I can inject dependencies using:
componentDescriptor.addComponentDepen
Hi Lewis,
On Dec 1, 2009, at 7:12 PM, Lewis Denizen wrote:
> Hi xwiki-users,
>
> I'm trying to bootstrap a component from the wiki itself (via
> Groovy). I
> have an interface defined as follows:
>
> // This is the text inside the User.UserDAO document
> {{groovy}}
> interface UserDAO
> {
>
Hi xwiki-users,
I'm trying to bootstrap a component from the wiki itself (via Groovy). I
have an interface defined as follows:
// This is the text inside the User.UserDAO document
{{groovy}}
interface UserDAO
{
def ROLE = UserDAO.class.name
/**
* Returns the current user name.