[jboss-dev-forums] [Design of POJO Server] - ServiceMetaData has the most recent dependencies/attributes/
anil.saldhana@jboss.com
do-not-reply at jboss.com
Tue Feb 19 18:33:55 EST 2008
The ServiceMetaData dependencies/attributes/annotations just store the most recent ones. So for example, if I have a service bean at the EAR level, then I would need to create dynamic dependencies to the individual web,ejb components within the jar. So deployers working with the war,ejb-jar deployments would want to create a dependency for these components on to the parent service bean (at the ear level for example).
I propose changes to be made such as:
| /**
| * Set the dependencies.
| *
| * @param dependencies the dependencies.
| */
| public void setDependencies(List<ServiceDependencyMetaData> dependencies)
| {
| if (dependencies == null)
| throw new IllegalArgumentException("Null dependencies");
| if(this.dependencies.size() == 0)
| this.dependencies = dependencies;
| else
| this.dependencies.addAll(dependencies);
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130577#4130577
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130577
More information about the jboss-dev-forums
mailing list