Tabnine Logo
SessionBeanInterceptor.getEjbName
Code IndexAdd Tabnine to your IDE (free)

How to use
getEjbName
method
in
org.jboss.weld.integration.ejb.SessionBeanInterceptor

Best Java code snippets using org.jboss.weld.integration.ejb.SessionBeanInterceptor.getEjbName (Showing top 2 results out of 315)

origin: org.jboss.jbossas/weld-int-ejb

/**
* Gets the underlying target and calls the post-construct method
*
* @param invocationContext The invocation context
* @throws Exception
*/
@PostConstruct
public void postConstruct(InvocationContext invocationContext) throws Exception
{
 String ejbName = getEjbName();
 EjbDescriptor<Object> descriptor = beanManager.getEjbDescriptor(ejbName);
 InjectionTarget<Object> injectionTarget = beanManager.createInjectionTarget(descriptor);
 Bean<Object> bean = beanManager.getBean(descriptor);
 creationalContext = beanManager.createCreationalContext(bean);
 injectionTarget.inject(invocationContext.getTarget(), creationalContext);
 invocationContext.getContextData().put(CREATIONAL_CONTEXT, creationalContext);
 invocationContext.getContextData().put(EJB_DESCRIPTOR, descriptor);
 invocationContext.proceed();
}
origin: org.jboss.weld.integration/weld-jboss-int-jboss-ejb

/**
* Gets the underlying target and calls the post-construct method
* 
* @param invocationContext The invocation context
* @throws Exception 
*/
@PostConstruct
public void postConstruct(InvocationContext invocationContext) throws Exception
{
 String ejbName = getEjbName();
 EjbDescriptor<Object> descriptor = beanManager.getEjbDescriptor(ejbName);
 injectionTarget = beanManager.createInjectionTarget(descriptor);
 Bean<Object> bean = beanManager.getBean(descriptor);
 creationalContext = beanManager.createCreationalContext(bean);
 injectionTarget.inject(invocationContext.getTarget(), creationalContext);
 invocationContext.getContextData().put(CREATIONAL_CONTEXT, creationalContext);
 invocationContext.getContextData().put(EJB_DESCRIPTOR, descriptor);
 invocationContext.proceed();
}
org.jboss.weld.integration.ejbSessionBeanInterceptorgetEjbName

Popular methods of SessionBeanInterceptor

    Popular in Java

    • Reading from database using SQL prepared statement
    • setRequestProperty (URLConnection)
    • requestLocationUpdates (LocationManager)
    • getResourceAsStream (ClassLoader)
    • GridLayout (java.awt)
      The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
    • String (java.lang)
    • BigInteger (java.math)
      An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
    • ArrayList (java.util)
      ArrayList is an implementation of List, backed by an array. All optional operations including adding
    • Response (javax.ws.rs.core)
      Defines the contract between a returned instance and the runtime when an application needs to provid
    • Option (scala)
    • From CI to AI: The AI layer in your organization
    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