hi,
i'm newbie to avalon/excalibur, but successfully setup ecm to
working yesterday :)

looks really good, but some behaviors is not clear for me:

1. as in subject: it seems that ExcaliburComponentManager.initialize()
never throws Exception, there are just getLogger().error() statements.
is that correct? how to check if initialization stage was successful? (i can
check after that with lookup(), but i'd have to know the full component
list)

2. what is loading components order and disposing? it seems that
components are initialized according to components.xml (or roles.xml?).
and disposing? let's say we have component A and B:
a. if they dont use each other (are not composable) then loading is A, B and
disposing is also A, B.
b. if B lookups for A (in initialize()) and releases it in dispose(), then
loading
is A, B and disposing is B, A. am i correct?
c. what about "crossreferencing": i need to lookup in init stage for other
compo
- B can lookup for A, but A cannot lookup for B? how to workaround this?
only use lookups in doStuff() methods?

3. do i ever have to call component.dispose() manually or let it for
component
manager?

4. do i have to call ExcaliburComponentManager.initialize() at all?
if not, lookup(A) return A correctly (with init stage, some kind of lazy
init?).
but i see warning "Looking up component on an uninitialized
ComponentLocator".
moreover, when i have data source components in roles (and even never
lookups for them), ExcaliburComponentManager.dispose() shows some
strange warning "Error decomissioning component:
org.apache.avalon.excalibur.
component.ExcaliburComponentSelector".
if i have ExcaliburComponentManager.initialize() at start, everything works
fine.
so - why ExcaliburComponentManager allow for component lookup when it
is not initialized and only shows warning?


i think all of these problems are trivial for you, but i'm really the
beginner
with avalon. your help will be really appreciated.

--
.. artur filipiak
.: gate internet services


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to