Package org.jboss.ejb3.context.spi

Examples of org.jboss.ejb3.context.spi.SessionContext


      return (SessionContext) super.getEJBContext();
   }

   public EJBLocalObject getEJBLocalObject() throws IllegalStateException
   {
      SessionContext ctx = getEJBContext();
      return ctx.getManager().getEJBLocalObject(ctx);
   }
View Full Code Here


   }

   public <T> T getBusinessObject(Class<T> businessInterface) throws IllegalStateException
   {
      // we need an instance attached
      SessionContext ctx = getEJBContext();
      return ctx.getComponent().getBusinessObject(ctx, businessInterface);
   }
View Full Code Here

      return (SessionContext) super.getEJBContext();
   }

   public EJBLocalObject getEJBLocalObject() throws IllegalStateException
   {
      SessionContext ctx = getEJBContext();
      return ctx.getComponent().getEJBLocalObject(ctx);
   }
View Full Code Here

      return ctx.getComponent().getEJBLocalObject(ctx);
   }

   public EJBObject getEJBObject() throws IllegalStateException
   {
      SessionContext ctx = getEJBContext();
      return ctx.getComponent().getEJBObject(ctx);
   }
View Full Code Here

   }

   public <T> T getBusinessObject(Class<T> businessInterface) throws IllegalStateException
   {
      // we need an instance attached
      SessionContext ctx = getEJBContext();
      return ctx.getComponent().getBusinessObject(ctx, businessInterface);
   }
View Full Code Here

      return (SessionContext) super.getEJBContext();
   }

   public EJBLocalObject getEJBLocalObject() throws IllegalStateException
   {
      SessionContext ctx = getEJBContext();
      return ctx.getComponent().getEJBLocalObject(ctx);
   }
View Full Code Here

      return ctx.getComponent().getEJBLocalObject(ctx);
   }

   public EJBObject getEJBObject() throws IllegalStateException
   {
      SessionContext ctx = getEJBContext();
      return ctx.getComponent().getEJBObject(ctx);
   }
View Full Code Here

      //DeploymentScope scope = null;
      if (unit.getParent() != null)
      {
         boolean isEar = unit != unit.getTopLevel();
         this.deploymentScope = new JBoss5DeploymentScope(unit.getParent(), isEar);
      }

      ejbResolver = new ClientEjbResolver(deploymentScope, unit.getSimpleName());
      messageDestinationResolver = new MessageDestinationResolver(deploymentScope, xml.getMessageDestinations());
View Full Code Here

         throw new NullPointerException("applicationClientName is mandatory");
      if (classLoader == null)
         throw new NullPointerException("classLoader is mandatory");

      this.deploymentUnit = unit;
      this.ejb3Unit = new JBoss5DeploymentUnit(unit);
      this.clientMetaData = xml;
      this.mainClass = mainClass;
      this.applicationClientName = applicationClientName;
      this.classLoader = classLoader;
View Full Code Here

    * @param shortName
    */
   public JBoss5DeploymentScope(VFSDeploymentUnit parent, boolean isEar, String shortName)
   {
      this(parent, isEar);
      ejbRefResolver = new EjbModuleEjbResolver(this, shortName);
   }
View Full Code Here

TOP

Related Classes of org.jboss.ejb3.context.spi.SessionContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.