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

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

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

public AdapterInvocationInfo getHandlerImplementor()
  throws Exception {
  ComponentInvocation inv =  container.startInvocation();
  AdapterInvocationInfo aInfo = new AdapterInvocationInfo();
  aInfo.setInv(inv);
  synchronized(this) {
    if(tieClass == null) {
      tieClass = Thread.currentThread().getContextClassLoader().loadClass(getEndpoint().getTieClassName());
    }
    if( tieInstance == null ) {
      tieInstance = (Tie) tieClass.newInstance();
      tieInstance.setTarget((Remote) webServiceEndpointServant);
    }
  }
  EJBInvocation.class.cast(inv).setWebServiceTie(tieInstance);
  aInfo.setHandler((Handler)tieInstance);
  return aInfo;
}
origin: fish.payara.extras/payara-embedded-all

public Implementor getImplementorFor(RuntimeEndpointInfo targetEndpoint) {
  Implementor implementor = null;
  try {
    synchronized(targetEndpoint) {
      implementor = (Implementor) 
        implementorCache_.get(targetEndpoint);
      if( implementor == null ) {
        implementor = createImplementor(targetEndpoint);
        implementorCache_.put(targetEndpoint, implementor);
      }
    }
    WebServiceContractImpl wscImpl = WebServiceContractImpl.getInstance();
    InvocationManager invManager = wscImpl.getInvocationManager();
    ComponentInvocation inv = invManager.getCurrentInvocation();
    if (inv instanceof EJBInvocation)
      ((EJBInvocation)inv).setWebServiceTie(implementor.getTie());
  } catch(Throwable t) {
    RuntimeException re = new RuntimeException();
    re.initCause(t);
    throw re;
  }
  return implementor;
}
org.glassfish.ejb.apiEJBInvocationsetWebServiceTie

Javadoc

Used by JAXRPC pre/postHandler classes

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
  • isAWebService
  • setMessage
    This is for EJB JAXWS only.
  • getEJBContext
  • getWebServiceMethod
  • getWebServiceTie
  • isCallerInRole
  • setMessageContext
    Used for setting JAXRPC message context.
  • setWebServiceContext
  • setMessageContext,
  • setWebServiceContext,
  • setWebServiceMethod

Popular classes and methods

  • runOnUiThread (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    Wraps an existing InputStream and buffers the input. Expensive interaction with the underlying input
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Proxy (java.net)
    This class represents a proxy setting, typically a type (http, socks) and a socket address. A Proxy
  • BitSet (java.util)
    This implementation uses bit groups of size 32 to keep track of when bits are set to true or false.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • SortedMap (java.util)
    A Map that further provides a total ordering on its keys. The map is ordered according to the Compar
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common

For IntelliJ IDEA and
Android Studio

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