Il 24/08/2012 11:50, Romain Manni-Bucau ha scritto:
-> for properties: both will be supported i guess
-> here (well today at least) Pojo part is mainly application config (which
rest provider, which cxf features...) so pojo is fine but your comment is
interesting and we should add  aliases for  "admin" ...any idea?
BeanProperties
BeanConfig/BeanConfiguration
SimpleBean
AdministeredObject
ConfigureBean
SimpleComponent

-> about resource: if you declare a resource it will work but the resource
will be application scoped at least, do you ask to be able to declare a
resource for a single bean?
I would like to use this to have a place for the admin to write all the config of the application, so I need only application scoped resources
<Configuration>
administratoraddress='myaddress@mydomain'
</Configuration>

class NotificationSenderBean {
@Resource(...) String administratoraddress;
}


*Romain Manni-Bucau*
*Twitter: @rmannibucau*
*Blog: http://rmannibucau.wordpress.com*



Reply via email to