On Thursday 26 February 2004 21:15, Giampaolo Tomassoni wrote:
> The question is: does it supply any (native) method by which one can
> remotely instantiate and use deployed components?

A:  Currently, you can't do this. We are working hard to get full JMX support 
in place, so that you can deploy and re-deploy components remotely.

> I.e.: if one uses Merlin to create an smtp server, which of course will use
> some components deployed along with it, have a tomcat servlet any native
> way to access any component in the Merlin's JVM?

This is a slightly different question.
Normal components have no 'hooks' into the Merlin system, as per the IoC 
contract.
Merlin do support something we have been calling "Facilities" and "Contexts" 
which are two mechanisms (of different complexity) that is provided with the 
access to Merlin's internals.

Contexts are a kind of "Smart Config" objects. Merlin treat them basically 
same as a normal component, and you can "wire" it as a Context entry in other 
components. These components would then access via 
   contuxtualize( Context ctx );


Facilities are a bit larger subsystems. For instance, the Jetty webserver is 
running as a Facility, and so will the JMX subsystem do, and once we manage 
to nail down the internals in Merlin, we expect all kinds of funky facilities 
to be developed.


Niclas

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

Reply via email to