Re: question about the pluxes components.xml?

2008-10-14 Thread Simone Gianni
Hi 陈思淼, yes, exactly, Spring is an IOC container , and it is an evolution of previous ones like Avalon/Plexus. We could say that if you name all your spring beans com.yourcompany.package.InterfaceName#hint you are doing the same. Simone 陈思淼 wrote: I am better familiar with spring-framework, is

Re: question about the pluxes components.xml?

2008-10-14 Thread Heinrich Nirschl
2008/10/13 陈思淼 [EMAIL PROTECTED]: I am better familiar with spring-framework, is the role-hint the same as the spring bean id which the container to locate the bean when needed, and the pluxes more specific becourse it group by interface type and use role-hint to describe eche one? role and

question about the pluxes components.xml?

2008-10-13 Thread 陈思淼
component roleorg.apache.maven.lifecycle.mapping.LifecycleMapping/role role-hintwar/role-hint implementationorg.apache.maven.lifecycle.mapping.DefaultLifecycleMapping/implementation what's the role-hint meaning? can anybody give some document ion to describe the

Re: question about the pluxes components.xml?

2008-10-13 Thread Simone Gianni
Hi 陈思淼, in Avalon like IOC containers (like plexus), there are two concepts : the role interface and the hint. Basically, you can have a my.company.logging.Logger interface, and then in your system load more than one class (actor) implementing that interface (having the Logging role ... in Avalon

Re: question about the pluxes components.xml?

2008-10-13 Thread 陈思淼
I am better familiar with spring-framework, is the role-hint the same as the spring bean id which the container to locate the bean when needed, and the pluxes more specific becourse it group by interface type and use role-hint to describe eche one? 2008/10/14 Simone Gianni [EMAIL PROTECTED] Hi