Skip to content

Commit

Permalink
WBRI-255
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2762 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Jun 4, 2009
1 parent 5cb3d24 commit a0b5b85
Showing 1 changed file with 11 additions and 1 deletion.
Expand Up @@ -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;
Expand All @@ -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;

Expand Down Expand Up @@ -104,7 +106,11 @@ public void initialize()
}
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))
{
Expand All @@ -114,6 +120,10 @@ public void initialize()
{
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()));
Expand Down

0 comments on commit a0b5b85

Please sign in to comment.