http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/core/stateless/StatelessContainerFactory.java
public void setMaxSize(final int max) {
if (this.max == null) {
setPoolSize(max);
}
}
/**
* @param max int
* @deprecated use MaxSize
*/
@Deprecated
public void setPoolSize(final int max) {
this.max = max;
pool.setPoolSize(max);
}
;)
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau
2014-07-20 20:31 GMT+02:00 Alex Soto <[email protected]>:
> And another attributes which confuses me a bit is the stateless one:
>
> http://tomee.apache.org/statelesscontainer-config.html
> vs
> http://tomee.apache.org/containers-and-resources.html
>
> In containers-and-resources link it is said that to set the pool size you
> must use PoolSize, but then watching statelesscontainer-config apart from a
> list of more attributes than defined in the containers-and-resources, it
> seems that PoolSize is another attribute called maxSize.
>
> If you tell me in which class I can inspect the real values I will do it.
> Probably it will happens the same with statefulcontainer-config size.
>
>
> Thank you so much,
> Alex.
>
>
>
>
> 2014-07-20 0:44 GMT+02:00 Alex Soto <[email protected]>:
>
> > Following same topic:
> >
> > I have seen that in link
> > http://tomee.apache.org/containers-and-resources.html there is a
> > reference to TransactionManager but it only contains one attribute
> > meanwhile the transactionmanager-config page contains a list of them, is
> it
> > possible that containers-and-resources page is outdated?
> >
> > Another thing that I have read in transactionmanager-config page is that
> > in resources.xml file you can define transaction manager. I remember
> > listening David in Devoxx that in resources.xml you can define containers
> > and resources but not transactions manager because they are global to all
> > applications.
> >
> > Maybe I am wrong (my memory is not what it was), but it seems to have
> > sense.
> >
> > Sorry for all these questions about documentation. I think that
> > documentation of Apache TomEE is pretty well but now that I am starting
> to
> > use it massively I found some things that I am not sure if they are wrong
> > or not.
> >
> > Thank you guys I will pay next beer !!! :)
> >
> >
> > 2014-07-19 23:55 GMT+02:00 Alex Soto <[email protected]>:
> >
> > Hello,
> >>
> >> today googling a bit I have found next link
> >> http://tomee.apache.org/transactionmanager-config.html which is how to
> >> configure transactions in Apache TomEE. But if you got o Documentation
> site
> >> of Apache TomEE http://tomee.apache.org/documentation.html a reference
> >> to this link is not found anywhere, so it seems like if anyone need some
> >> information on how to configure transactions it may relies on Google
> >> instead of Apache TomEE documentation.
> >>
> >> If transaction documentation is still valid do you think we can add this
> >> link to main documentation page? I can do it if this page is not auto
> >> rendered, no problem :)
> >>
> >> --
> >> +----------------------------------------------------------+
> >> Alex Soto Bueno
> >> www.lordofthejars.com
> >> +----------------------------------------------------------+
> >>
> >
> >
> >
> > --
> > +----------------------------------------------------------+
> > Alex Soto Bueno - Computer Engineer
> > www.lordofthejars.com
> > +----------------------------------------------------------+
> >
>
>
>
> --
> +----------------------------------------------------------+
> Alex Soto Bueno - Computer Engineer
> www.lordofthejars.com
> +----------------------------------------------------------+
>