Tabnine Logo
WebServiceRefHandler
Code IndexAdd Tabnine to your IDE (free)

How to use
WebServiceRefHandler
in
org.jboss.injection

Best Java code snippets using org.jboss.injection.WebServiceRefHandler (Showing top 6 results out of 315)

origin: org.jboss.ejb3/jboss-ejb3-core

public void handleClassAnnotations(Class<?> type, InjectionContainer container)
{
 WebServiceRef wsref = container.getAnnotation(WebServiceRef.class, type);
 if (wsref != null)
 {
   bindRefOnType(type, container, wsref);
 }
 WebServiceRefs refs = container.getAnnotation(WebServiceRefs.class, type);
 if (refs != null)
 {
   for (WebServiceRef refItem : refs.value())
   {
    bindRefOnType(type, container, refItem);
   }
 }
}
origin: org.jboss.ejb3/jboss-ejb3-core

ServiceReferenceMetaData tmp = getServiceRefForInjectionTarget(method);
if(tmp!=null)
if (!container.getEncInjectors().containsKey(serviceRefName))
  ServiceReferenceMetaData sref = getServiceRef(serviceRefName);
  container.getEncInjectors().put(serviceRefName, new ServiceRefInjector(encName, method, sref));
origin: org.jboss.ejb3/jboss-ejb3-core

private void bindRefOnType(Class<?> type, InjectionContainer container, WebServiceRef wsref)
{
 String name = wsref.name();
 if (name.equals(""))
   name = InjectionUtil.getEncName(type).substring(4);
 
 if (!container.getEncInjectors().containsKey(name))
 {
   String encName = "env/" + name;
   ServiceReferenceMetaData sref = getServiceRef(name);
   container.getEncInjectors().put(name, new ServiceRefInjector(encName, type, sref));
 }
}
origin: org.jboss.ejb3/jboss-ejb3-core

   addInjector(container, encName, annotatedElement);   
addInjector(container, encName, annotatedElement);   
origin: org.jboss.jbossas/jboss-as-ejb3

handlers.add(new WebServiceRefHandler<JBossClientMetaData>());
origin: org.jboss.ejb3/jboss-ejb3-core

ServiceReferenceMetaData tmp = getServiceRefForInjectionTarget(field);
if(tmp!=null)
if (!container.getEncInjectors().containsKey(serviceRefName))
  ServiceReferenceMetaData sref = getServiceRef(serviceRefName);
  container.getEncInjectors().put(serviceRefName, new ServiceRefInjector(encName, field, sref));
org.jboss.injectionWebServiceRefHandler

Javadoc

Handle @WebServiceRef annotations

Most used methods

  • <init>
  • addInjector
  • bindRefOnType
  • getServiceRef
  • getServiceRefForInjectionTarget

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • setRequestProperty (URLConnection)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now