I am analyzing Tweety Robot it already includes a similar singleton:
com.google.wave.extensions.tweety.util.PersistenceManagerHelper

but includes wave-robot-net-client already has:
com.google.wave.api.oauth.impl.SingletonPersistenceManagerFactory

DI permitted to avoid this problem

On 20 dic, 11:02, matias molinas <[email protected]> wrote:
> Hi
> I am studying the code of wave-robot-java-client and I see that
> already includes a JDO PersistenceManagerFactory singleton for
> OAuthService:
>
> com.google.wave.api.oauth.impl.SingletonPersistenceManagerFactory
>
> It's just a suggestion, but I think the library should be used a
> framework of IOC and DI so that it is possible to reuse the components
> and create only a single instance of an PersistenceManagerFactory in
> an Wave Robot application that includes your own framework of IOC and
> DI
>
> "Saludos", Matias

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.


Reply via email to