[jboss-dev-forums] [Design of EJB 3.0] - Re: Resolver plugins
scott.stark@jboss.org
do-not-reply at jboss.com
Tue Apr 1 18:07:44 EDT 2008
Updating the DeploymentScope interface to the following looks like it allows the integration code to specifying the resolution logic:
| public interface DeploymentScope extends JavaEEApplication
| {
| public Collection<Ejb3Deployment> getEjbDeployments();
| void register(Ejb3Deployment deployment);
| void unregister(Ejb3Deployment deployment);
|
| /**
| * Find a deployment based on its relative deployment name
| *
| * @param relativeName expects "../foo.jar" so expects the .. in front
| * @return
| */
| Ejb3Deployment findRelativeDeployment(String relativeName);
| /**
| * Obtain the EJBContainer best matching the business interface
| * @param businessIntf - the business interface to match
| * @return the matching EJBContainer if found, null otherwise.
| */
| EJBContainer getEjbContainer(Class businessIntf);
| /**
| * Obtain the EJBContainer best matching the business interface
| * @param ejbLink - the referencing ejb-link
| * @param businessIntf - the business interface to match
| * @return the matching EJBContainer if found, null otherwise.
| */
| EJBContainer getEjbContainer(String ejbLink, Class businessIntf);
|
| String getShortName();
| String getBaseName();
| }
|
What to do with legacy implementations of DeploymentScope like JmxDeploymentScopeImpl? Are these being supported in this release?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140738#4140738
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140738
More information about the jboss-dev-forums
mailing list