/*
 * JBoss, the OpenSource EJB server
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.ejb3.test.service;

import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.management.ObjectName;
import org.jboss.annotation.ejb.Depends;

/**
 * @author <a href="mailto:kabir.khan@jboss.org">Kabir Khan</a>
 * @version $Revision: 1.3.2.4 $
 */
@Stateless
@Remote(SessionRemote.class)
public class Session implements SessionRemote
{
   @Depends("jboss.j2ee:service=EJB3,name=org.jboss.ejb3.test.service.ServiceThree")
   public ObjectName serviceOne;

   public boolean injectedDepends()
   {
      return serviceOne != null;
   }
}
