You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Date: 2015-05-14 07:30:45 -0400
From: Stuart McCulloch <[email protected]>
Currently any components constructed using 'new' in a provider are not managed by the LifecycleModule. This is because they are not covered by Guice's TypeListener, instead we need to use the ProvisionListener to detect them (though we need to be careful to avoid duplicates, since the same component could trigger multiple provision calls).
Note it is possible to tell the BeanManager about external instances:
if (beanManager.manage(instance.getClass()) {
beanManager.manage(instance);
}
but this is a bit clunky and could be improved to be a single call.
The text was updated successfully, but these errors were encountered:
This issue was created automatically with bugzilla2github
Bugzilla Bug 467320
Date: 2015-05-14 07:30:45 -0400
From: Stuart McCulloch <[email protected]>
To: Project Inbox <[email protected]>
Last updated: 2015-05-14 07:30:45 -0400
Comment 2563401
Date: 2015-05-14 07:30:45 -0400
From: Stuart McCulloch <[email protected]>
Currently any components constructed using 'new' in a provider are not managed by the LifecycleModule. This is because they are not covered by Guice's TypeListener, instead we need to use the ProvisionListener to detect them (though we need to be careful to avoid duplicates, since the same component could trigger multiple provision calls).
Note it is possible to tell the BeanManager about external instances:
but this is a bit clunky and could be improved to be a single call.
The text was updated successfully, but these errors were encountered: