congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ServiceImpl.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jboss.weld.environment.osgi.impl.extension.beans.ServiceImpl
constructor

Best Java code snippets using org.jboss.weld.environment.osgi.impl.extension.beans.ServiceImpl.<init> (Showing top 3 results out of 315)

origin: org.jboss.weld.osgi/weld-osgi-core-extension

@Override
public <T> Service<T> getServiceReference() {
  return new ServiceImpl<T>(contract, registry);
}
origin: org.jboss.weld.osgi/weld-osgi-core-extension

@Override
public <T> Service<T> getServiceReferences(Class<T> contract) {
  return new ServiceImpl<T>(contract, registry);
}
origin: org.jboss.weld.osgi/weld-osgi-core-extension

@Override
public Service create(CreationalContext creationalContext) {
  logger.trace("Entering OSGiServiceProducerBean : create() with parameter {}",
         new Object[] {creationalContext});
  BundleContext registry = ctx;
  if (registry == null) {
    registry = FrameworkUtil.getBundle(
      injectionPoint.getMember().getDeclaringClass()).getBundleContext();
  }
  Service result =
      (Service) new ServiceImpl(((ParameterizedType) type).getActualTypeArguments()[0],
                   registry,
                   filter);
  logger.debug("New service for {} created {}", this, result);
  return result;
}
org.jboss.weld.environment.osgi.impl.extension.beansServiceImpl<init>

Popular methods of ServiceImpl

  • populateServices
  • size

Popular in Java

  • Finding current android device location
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • getSystemService (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Best plugins for Eclipse
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