interface PassivationCapable<X> extends Bean<X> {
String getId();
}
Instances of Bean could optionally implement PassivationCapable.
We would also need to add a method to BeanManager:
interface BeanManager {
PassivationCapable<?> getPassivationCapableBean(String id);
}
WDYT?
--
Gavin King
gavin.king@gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org
_______________________________________________
webbeans-dev mailing list
webbeans-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev