You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by haipeng du <ha...@gmail.com> on 2009/06/21 05:09:40 UTC

T5 disable loading specified module

How could I configure Tapestry so that specified modules will not be auto
loaded into service.
Thanks.

-- 
Haipeng Du
Salt Lake City

Re: T5 disable loading specified module

Posted by LLTYK <LL...@mailinator.com>.
There is a tapestry.disable-default-modules. Took me a while to find it in
the source code. Then you specify the modules you want to use manually with
tapestry.modules
(org.apache.tapestry5.upload.services.UploadModule,org.apache.tapestry5.spring.SpringModule).
-- 
View this message in context: http://tapestry-users.832.n2.nabble.com/T5-disable-loading-specified-module-tp3127241p5855485.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 disable loading specified module

Posted by haipeng du <ha...@gmail.com>.
It is not true. T5 provide module auto loading if from your MAINFEST file,
you give the module class name, you can refer
http://tapestry.apache.org/tapestry5.1/tapestry-ioc/autoload.html

On Sat, Jun 20, 2009 at 9:30 PM, Angelo Chen <an...@yahoo.com.hk>wrote:

>
> I think if it is not specified in the AddModule, it should not be loaded.
> of
> course if T5's module and it has auto binding, then it will be loaded as
> long as it is linked.
>
>
> flyabovesun wrote:
> >
> > How could I configure Tapestry so that specified modules will not be auto
> > loaded into service.
> > Thanks.
> >
> > --
> > Haipeng Du
> > Salt Lake City
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/T5-disable-loading-specified-module-tp24131216p24131282.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Haipeng Du
Salt Lake City

Re: T5 disable loading specified module

Posted by Angelo Chen <an...@yahoo.com.hk>.
I think if it is not specified in the AddModule, it should not be loaded. of
course if T5's module and it has auto binding, then it will be loaded as
long as it is linked.
 

flyabovesun wrote:
> 
> How could I configure Tapestry so that specified modules will not be auto
> loaded into service.
> Thanks.
> 
> -- 
> Haipeng Du
> Salt Lake City
> 
> 

-- 
View this message in context: http://www.nabble.com/T5-disable-loading-specified-module-tp24131216p24131282.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5 disable loading specified module

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
you could just omit the manifest entry and configure your 
appliction on startup by using the -Dtapestry.modules=
path.to.module,more.... property

g,
kris





haipeng du <ha...@gmail.com> 
21.06.2009 05:09
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>


An
Tapestry users <us...@tapestry.apache.org>
Kopie

Thema
T5 disable loading specified module






How could I configure Tapestry so that specified modules will not be auto
loaded into service.
Thanks.

-- 
Haipeng Du
Salt Lake City