[jboss-dev-forums] [Design of EJB 3.0] - Re: EJBTHREE-1278, fixing jbossas5/mc integration code

scott.stark@jboss.org do-not-reply at jboss.com
Tue Apr 15 02:23:15 EDT 2008


The DeploymentUnit now has attachment support:

  | public interface DeploymentUnit
  | {
  |    Object addAttachment(String name, Object attachment);
  | throws IllegalArgumentException for a null name
  |    Object getAttachment(String name);
  |    Object removeAttachment(String name);
  | ...
  | 
  | and the KernelAbstraction install now has a DeploymentUnit parameter:
  | public interface KernelAbstraction extends ClientKernelAbstraction
  | {
  |    public void install(String name, DependencyPolicy dependencies, DeploymentUnit unit, Object service); 
  | 

and unsatisfied deployments show an error when the new JBossASKernel implementation of KernelAbstraction is used. We need a new release of ejb3 core to allow the server code to be in synch.


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

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



More information about the jboss-dev-forums mailing list