[jboss-dev-forums] [Design of POJO Server] - Re: The DeploymentManager and ProfileService
emuckenhuber
do-not-reply at jboss.com
Fri Jan 30 13:22:31 EST 2009
To hijack my own thread there is actually one remaining thing in the Profile spi, which i think is not really required:
| public interface Profile
| {
| /**
| * Update a deployment. This can be used to save attachments, other
| * metadata of the deployment.
| */
| void updateDeployment(VFSDeployment d, ManagedComponent comp) throws Exception;
|
| }
|
I think it would be enough to have that in the ManagementView only.
A short explanation why... i've worked on removing the VFSDeployment from the profileservice-spi,
which seems to work pretty well.
But the main thing which changed is that ProfileService does not directly use the MainDeployer anymore,
but a kind of wrapper which actually creates a Deployment or VFSDeployment, restores the attachments
and then adds the deployment to the MainDeployer
Therefore ManagementView could simply take care of that, so that we don't have the attachment persistence in 2 different places.
What do you think?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205976#4205976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205976
More information about the jboss-dev-forums
mailing list