avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject RE: Component Transactions
Date Sat, 08 Jun 2002 05:21:23 GMT
At 09:19 AM 6/7/2002 -0400, you wrote:
> > public interface ServiceManager
> > {
> >    void lookup(String name) throws ComponentException;
> >    boolean exists( String name );
> > }
>
>I never said a Role should be an Object, but that we should have a
>method for a String role and an Object hint for more complex queries.

hint then - why is that an Object - no other directory service I know of 
has such a "feature" and given that the same info can be represented via a 
single string then seems like flexability syndrome.

 > Note that I kept the ComponentException as it should only be
> > raised in
> > error condition.
>
>Yeah, but it needs to be tested for.


Why ? The only thing thta should be catching it is the container



--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message