"112.5.12 Modified Method
The name of the modified method is specified by the m o d i f i e d 
attribute. See Component Element on page 311. The prototype and selection 
priority of the modified method is identical to that of the activate 
method. See Activate Method on page 320."


-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[email protected]

office: +1 386 848 1781
mobile: +1 386 848 3788




From:
Miguel García Longarón <[email protected]>
To:
OSGi Developer Mail List <[email protected]>
Date:
2010/03/11 13:44
Subject:
[osgi-dev] Declarative Services - Modified Method doubt
Sent by:
[email protected]




    Hi all,

    I'm not sure if the Mofied Method declared for a component must be a 
method without arguments, or may have a "Map" or "Dictionary" argument 
to inyect directly the new properties of the updated Configuration.

    The specification doesn't mention anything about arguments, so I 
think that the non-arguments option is the only posible. But with a POJO 
style component, it seems reasonable having the other option.

    Thanks,
    Miguel

-- 
Miguel García Longarón
Especialista Tecnológico
División de Automóvil Conectado

Telefónica Investigación y Desarrollo
Emilio Vargas, 6
28043 Madrid
España
Tel: (+34) 91 337 99 91
Fax: (+34) 91 337 44 91
Correo-e: [email protected]
Internet: www.tid.es 

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to