Hi Stefano,
my only concern right now is whether the org.jboss.ws.metadata.umdm metadata is really what you want to save in the repository. Those metadata might be too jbossws-native specific. Are the org.jboss.ws.metadata.wsdl metadata enough for you instead? You can easily get them through org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory which of course you might want to extend to use a pre-existing input stream.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155552#4155552
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155552
I added the following to the Ejb3Deployment
| /**
| * Return the container injection handler collection. If not specified(null)
| * a default handler collection will be created.
| * @return the injection handler collection to use, null if the container
| * should use a default setup.
| */
| protected Collection<InjectionHandler<Environment>> getHandlers()
| {
| return null;
| }
|
and the EJBContainer.processMetadata code initializes the old collection if the deployment getHandlers returns null.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155533#4155533
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155533
The ejb3 trunk Ejb3Deployment is incompatible with the current usage due to a change in the ctor. The jbossas Ejb3JBoss5Deployment is calling a non-existent ctor:
| Caused by: java.lang.NoSuchMethodError: org.jboss.ejb3.Ejb3Deployment.<init>(Lorg/jboss/ejb3/DeploymentUnit;Lorg/jboss/ejb3/DeploymentScope;Lorg/jboss/metadata/ejb/jboss/JBossMetaData;Lorg/jboss/ejb3/metadata/jpa/spec/PersistenceUnitsMetaData;)V
| at org.jboss.ejb3.deployers.Ejb3JBoss5Deployment.<init>(Ejb3JBoss5Deployment.java:62)
| at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:165)
| ... 21 more
|
I guess its the move to have the PersistenceUnitsMetaData be part of jboss-metadata. When is the next ejb3 release?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4155525#4155525
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4155525