Package org.glassfish.ejb.api

Examples of org.glassfish.ejb.api.EJBInvocation


        return null;
    }
   
    public Object getEJbArguments(ComponentInvocation inv) {
        if (inv instanceof EJBInvocation) {
            EJBInvocation eInv = (EJBInvocation) inv;
            if (eInv.isAWebService()) {
                return null;
            } else {
                return (eInv.getMethodParams() != null) ? eInv.getMethodParams() : new Object[0];
            }
        }
        return null;
    }
View Full Code Here


        return null;
    }
   
    public Object getSOAPMessage(ComponentInvocation inv) {
        if (inv instanceof EJBInvocation) {
            EJBInvocation eInv = (EJBInvocation) inv;
            if (eInv.isAWebService()) {
               //TODO:V3 does this violate JACC spec?, we may have to convert to SOAPMessage on demand
               //return eInv.getSOAPMessage();
                return eInv.getMessage();
            }
        }
        return null;
    }
View Full Code Here

        return null;
    }

    public void setSOAPMessage(Object message, ComponentInvocation inv) {
         if (inv instanceof EJBInvocation) {
            EJBInvocation eInv = (EJBInvocation) inv;
            if (eInv.isAWebService()) {
               eInv.setMessage(message);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.glassfish.ejb.api.EJBInvocation

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.