EJBInvocation.isAWebService
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.glassfish.ejb.api.EJBInvocation.isAWebService(Showing top 12 results out of 315)

origin: javaee/glassfish

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;
}
origin: org.glassfish.main.security/security-ee

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;
}

origin: fish.payara.extras/payara-embedded-all

public void setSOAPMessage(Object message, ComponentInvocation inv) {
   if (inv instanceof EJBInvocation) {
    EJBInvocation eInv = (EJBInvocation) inv;
    if (eInv.isAWebService()) {
      eInv.setMessage(message);
    }
  }
}
origin: org.glassfish.main.security/security-ee

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;
}
origin: javaee/glassfish

public void setSOAPMessage(Object message, ComponentInvocation inv) {
   if (inv instanceof EJBInvocation) {
    EJBInvocation eInv = (EJBInvocation) inv;
    if (eInv.isAWebService()) {
      eInv.setMessage(message);
    }
  }
}
origin: org.glassfish.security/security

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;
}

origin: org.glassfish.security/security

public void setSOAPMessage(Object message, ComponentInvocation inv) {
   if (inv instanceof EJBInvocation) {
    EJBInvocation eInv = (EJBInvocation) inv;
    if (eInv.isAWebService()) {
      eInv.setMessage(message);
    }
  }
}
origin: fish.payara.extras/payara-embedded-all

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;
}

origin: fish.payara.extras/payara-embedded-all

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;
}
origin: javaee/glassfish

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;
}

origin: org.glassfish.security/security

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;
}
origin: org.glassfish.main.security/security-ee

public void setSOAPMessage(Object message, ComponentInvocation inv) {
   if (inv instanceof EJBInvocation) {
    EJBInvocation eInv = (EJBInvocation) inv;
    if (eInv.isAWebService()) {
      eInv.setMessage(message);
    }
  }
}
org.glassfish.ejb.apiEJBInvocationisAWebService

Popular methods of EJBInvocation

  • authorizeWebService
    Use the underlying container to authorize this invocation
  • getJaccEjb
    Used by JACC implementation to get an enterprise bean instance for the EnterpriseBean policy handler
  • getMessage
    This is for EJB JAXWS only.
  • getMethodParams
  • setMessage
    This is for EJB JAXWS only.
  • getEJBContext
  • getWebServiceMethod
  • getWebServiceTie
  • isCallerInRole
  • setMessageContext
    Used for setting JAXRPC message context.
  • setWebServiceContext
  • setWebServiceMethod
  • setWebServiceContext,
  • setWebServiceMethod,
  • setWebServiceTie

Popular classes and methods

  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ArrayList (java.util)
    Resizable-array implementation of the List interface.
  • JLabel (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Join (org.hibernate.mapping)

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)