Hello,
because the package "component" from Avalon is deprecated, so the package
"service" should be used instead. After I had looked into some cocoon
sources (and Avalon sources = DataSource, too!), it seems to me that not all
components converted to service yet. I'm right?
Which differences between creating a component and creating a service
exists?
To integrate a new component based on the service package I realized the
following steps. They are correct?
Defining the interface (Extending of "Serviceable" necessary?):
// no extension of Component necessary
public interface MyComponent {
public void myMethod();
}
Creating an implementation of the Component:
public class MyComponentImpl implements MyComponent, Poolable, Loggable {
public void myMethod() {
// Do something here ...
}
}
Thank you.
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]