: I implement the interface and it returns me the current core. But how is it
: different from doing request.getCore() from handleRequestBody()? And I don't

i think ryan missunderstood your goal .. that's just a way for you to get 
access to your core prior to handling requests.

: see how this can give me access to other cores. I think that what I need is
: to get access to an instance of CoreContainer, so I can call getCore(name)
: and getAdminCore to manage the different cores. So I'm wondering if this is
: a good way to get that instance:

I'm not positive, but i think the code you listed will actaully 
reconstruct new copies of all of the cores.  the simplest way to get 
access to the CoreContainer is via the CoreDescriptor...

yourCore.getCoreDescriptor().getCoreContainer().getCore("otherCoreName");

(note i've never actually done this, it's just waht i remember off the 
top of my head from the past multicore design discussions ... the 
class/method names may be slightly wrong)

-Hoss

Reply via email to