Hi, I finally found out a syntax for jboss.xml to Ingnore dependency injection.
The jboss.xml file from my previous posts now look like : | <?xml version="1.0" encoding="UTF-8"?> | <jboss xmlns="http://java.sun.com/xml/ns/javaee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee | http://www.jboss.org/j2ee/schema/jboss_5_0.xsd" | version="3.0"> | <enterprise-beans> | <session> | <ejb-name>RegistryServiceBean</ejb-name> | <ignore-dependency> | <injection-target> | <injection-target-class>org.escapek.core.services.impl.RepositoryServiceBean</injection-target-class> | <injection-target-name>repository</injection-target-name> | </injection-target> | </ignore-dependency> | </session> | <session> | <ejb-name>SecurityServiceBean</ejb-name> | <ignore-dependency> | <injection-target> | <injection-target-class>org.escapek.core.services.impl.RegistryServiceBean</injection-target-class> | <injection-target-name>registryService</injection-target-name> | </injection-target> | </ignore-dependency> | </session> | <session> | <ejb-name>TestServiceBean</ejb-name> | <ignore-dependency> | <injection-target> | <injection-target-class>org.escapek.core.services.impl.RegistryServiceBean</injection-target-class> | <injection-target-name>registry</injection-target-name> | </injection-target> | </ignore-dependency> | </session> | </enterprise-beans> | </jboss> | For each bean, the ignore-dependency tag tell which class and which field name to ignore in the bean. Using this setup I managed to start my beans. Can someone from the dev. could tell me if there's another syntax as i saw it of others posts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991640#3991640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991640 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
