Comment #7 on issue 10 by james.strachan: Startable & Disposable interfaces
http://code.google.com/p/atinject/issues/detail?id=10
@Paul, couldn't this issue be resolved by users creating a Startable and
Stoppable
interfaces (or Lifecycle with start/stop in it or whatever shape of API
they want)
inside a project/library - then using the @PostConstruct/@Predestroy
annotations on
those interface methods?
i.e. if annotations on interfaces are supported, we can have potentially
many
flavours of start/stop interfaces created in different libraries (which may
or may
not use checked exceptions etc).
In other words; if IoC containers just really looked for the JSR250
annotations;
application developers could make concrete interfaces if they wish to do so.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings