Author: pete.muir(a)jboss.org
Date: 2009-06-04 13:18:05 -0400 (Thu, 04 Jun 2009)
New Revision: 2762
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java
Log:
WBRI-255
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java
===================================================================
---
ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java 2009-06-04
17:17:23 UTC (rev 2761)
+++
ri/trunk/impl/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java 2009-06-04
17:18:05 UTC (rev 2762)
@@ -54,6 +54,7 @@
import org.jboss.webbeans.literal.InitializedLiteral;
import org.jboss.webbeans.log.Log;
import org.jboss.webbeans.log.Logging;
+import org.jboss.webbeans.messaging.spi.JmsServices;
import org.jboss.webbeans.metadata.MetaDataCache;
import org.jboss.webbeans.persistence.DefaultEntityDiscovery;
import org.jboss.webbeans.persistence.PersistenceApiAbstraction;
@@ -66,6 +67,7 @@
import org.jboss.webbeans.servlet.HttpSessionManager;
import org.jboss.webbeans.servlet.ServletApiAbstraction;
import org.jboss.webbeans.transaction.spi.TransactionServices;
+import org.jboss.webbeans.ws.spi.WebServices;
import org.jboss.webbeans.xml.XmlEnvironment;
import org.jboss.webbeans.xml.XmlParser;
@@ -104,8 +106,12 @@
}
if (!getServices().contains(EjbServices.class))
{
- log.info("EJB services not available. Session beans will be simple beans,
injection into non-contextual EJBs, injection of @EJB in simple beans, injection of Java
EE resources and JMS resources will not be available.");
+ log.info("EJB services not available. Session beans will be simple beans,
CDI-style injection into non-contextual EJBs, injection of remote EJBs and injection of
@EJB in simple beans will not be available");
}
+ if (!getServices().contains(JmsServices.class))
+ {
+ log.info("JMS services not available. JMS resources will not be
available.");
+ }
if (!getServices().contains(JpaServices.class))
{
log.info("JPA services not available. Injection of @PersistenceContext will
not occur. Entity beans will be discovered as simple beans.");
@@ -114,6 +120,10 @@
{
log.info("@Resource injection not available.");
}
+ if (!getServices().contains(WebServices.class))
+ {
+ log.info("WebService reference injection not available.");
+ }
addImplementationServices();
createContexts();
this.manager =
ManagerImpl.newRootManager(ServiceRegistries.unmodifiableServiceRegistry(getServices()));
Show replies by date