You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Richard Mah <rm...@ca.ibm.com> on 2008/04/08 23:29:08 UTC
Registering ModuleActivators without specifying a META-INF/services/org.apache.tuscany.sca.core.ModuleActivator
file
Hi,
Can someone point me to some examples or info on how I can register
ModuleActivators without specifying a
META-INF/services/org.apache.tuscany.sca.core.ModuleActivator file.
Jean-Sebastien mentioned there's something out there where I can simply
call a method specifying the ModuleActivator to register.
Thanks.
Richard
Service Component Architecture (SCA) Tools
Internal Mail: D3/QCT/8200 /MKM
Phone: (905) 413 - 4115 Internet: rmah@ca.ibm.com
Notes: Richard Mah/Toronto/IBM@IBMCA
Re: Registering ModuleActivators without specifying a META-INF/services/org.apache.tuscany.sca.core.ModuleActivator
file
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Richard Mah wrote:
> Can someone point me to some examples or info on how I can register
> ModuleActivators without specifying a
> META-INF/services/org.apache.tuscany.sca.core.ModuleActivator file.
...
I'm assuming that you only want to run a subset of Tuscany, not the
whole Tuscany runtime. The simplest then is to do this:
ExtensionPointRegistry extensionPoints =
new DefaultExtensionPointRegistry();
ModuleActivator activator = new YourModuleActivator();
activator.start(extensionPoints);
Basically new up your ModuleActivator and call its start method.
Which ModuleActivators are you interested in initializing that way?
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org