Codota Logo
SubclassedComponentDescriptor
Code IndexAdd Codota to your IDE (free)

How to use
SubclassedComponentDescriptor
in
org.jboss.weld.ejb.spi

Best Java code snippets using org.jboss.weld.ejb.spi.SubclassedComponentDescriptor (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: weld/core

  public Class<? extends T> getImplementationClass() {
    if (delegate instanceof SubclassedComponentDescriptor) {
      SubclassedComponentDescriptor<T> descriptor = Reflections.<SubclassedComponentDescriptor<T>>cast(delegate);
      Class<? extends T> implementationClass = descriptor.getComponentSubclass();
      if (implementationClass != null) {
        return implementationClass;
      }
    }
    return delegate.getBeanClass();
  }
}
origin: org.jboss.weld.se/weld-se

  public Class<? extends T> getImplementationClass() {
    if (delegate instanceof SubclassedComponentDescriptor) {
      SubclassedComponentDescriptor<T> descriptor = Reflections.<SubclassedComponentDescriptor<T>>cast(delegate);
      Class<? extends T> implementationClass = descriptor.getComponentSubclass();
      if (implementationClass != null) {
        return implementationClass;
      }
    }
    return delegate.getBeanClass();
  }
}
org.jboss.weld.ejb.spiSubclassedComponentDescriptor

Javadoc

An implementation of EjbDescriptor may optionally implement this interface if the EJB container uses subclassing to implement EJB functionality. Weld will use the class returned from #getComponentSubclass()when instantiating a new EJB instance.

Most used methods

  • getComponentSubclass
    Returns the enhanced subclass of the component type. Weld will use this subclass to create EJB insta

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • addToBackStack (FragmentTransaction)
  • getContentResolver (Context)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now