[ 
https://issues.apache.org/jira/browse/GERONIMO-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581252#action_12581252
 ] 

Vamsavardhana Reddy commented on GERONIMO-3936:
-----------------------------------------------

Can you see if changing

infoBuilder.addAttribute("properties", Properties.class, true);
to
infoBuilder.addAttribute("properties", Properties.class, true, true);

in the current EjbContainer class helps to prevent changing it into an 
interface and introducing EjbContainerGBean.


> Make changes to openejb gbeans so that they can be modified at runtime
> ----------------------------------------------------------------------
>
>                 Key: GERONIMO-3936
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3936
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: OpenEJB
>    Affects Versions: 2.2
>         Environment: All
>            Reporter: Manu T George
>            Assignee: Manu T George
>             Fix For: 2.2
>
>         Attachments: g3936_r639236.patch
>
>
> Extract interfaces from the EjbContainer GBean so that values can be set at 
> runtime. At runtime you need to set attributes on a dynamic proxy for it to 
> get saved. 
> So the EjbContainerGBean  has been refactored to implement an EjbContainer 
> interface. Also a properties attribute has been added to the 
> OpenEjbSystemGbean. Initial approach implemented was to add multiple 
> MdbContainerGbeans for each MdbContainer created but it keeps on adding 
> entries to config.xml. Also adding too many gbeans to existing configurations 
> is not a good design as I understand from advice given in the ML

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to