[jboss-dev-forums] [Design of POJO Server] - Re: xml persistent format for attachments

emuckenhuber do-not-reply at jboss.com
Thu Nov 20 16:34:46 EST 2008


Ah before i forget, i think we should update the DeploymentRepository interface to:


  |    public void updateDeployment(VFSDeployment d, DeploymentPhase phase, ManagedComponent component)
  | 
  | or
  | 
  |    public void updateDeployment(VFSDeployment d, DeploymentPhase phase, ManagedObject object)
  | 
  | instead of:
  | 
  |    public void updateDeployment(VFSDeployment d, DeploymentPhase phase, Map<String, Object> attachments)
  | 

Baiscally i'm already putting the ManagedComponent in the map to persist the attachment.

Furthermore i think we could delete the:

  |  public void addManagedObject(String vfsPath, Attachments edits)
  | 
as this does not seem to make sense anymore. Maybe we can add something similar later on if needed.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191052#4191052

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4191052



More information about the jboss-dev-forums mailing list