Codota Logo
ClassTracker.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.jflux.impl.services.rk.osgi.ClassTracker
constructor

Best Java code snippets using org.jflux.impl.services.rk.osgi.ClassTracker.<init> (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: org.robokind/org.robokind.api.motion

/**
 * Creates a new OSGiFrameSourceTracker which tracks services registered 
 * under the given class name.
 * @param className fully qualified name of the FrameSource class to track
 */
public OSGiFrameSourceTracker(String className){
  myTracker = new ClassTracker(className);
}
origin: org.robokind/org.robokind.api.motion

/**
 * Creates a new OSGiFrameSourceTracker.
 */
public OSGiFrameSourceTracker(){
  myTracker = new ClassTracker(FrameSource.class.getName());
}
origin: org.robokind/org.robokind.integration.animation_motion

private ClassTracker<Robot> getRobotTracker(){
  if(myRobotTracker != null){
    return myRobotTracker;
  }
  myRobotTracker = new ClassTracker<Robot>(myContext, Robot.class.getName(),null,null);
  return myRobotTracker;
}

origin: org.jflux/org.jflux.impl.services.rk

public  static <C> ClassTracker<C> build(Class<C> clazz, String filter){
  if(clazz == null){
    throw new NullPointerException();
  }
  BundleContext context = OSGiUtils.getBundleContext(clazz);
  if(context == null){
    theLogger.log(Level.WARNING, 
        "Could not find BundleContext for {0}", clazz);
    return null;
  }
  ClassTracker<C> tracker = new ClassTracker<C>(
      context, clazz.getName(), filter);
  return tracker;
}

org.jflux.impl.services.rk.osgiClassTracker<init>

Javadoc

Creates a new tracker for the given class. init() must be called before the ClassTracker begins tracking.

Popular methods of ClassTracker

  • init
    Call to initialize the ClassTracker after setting the BundleContext, filter (optional), and customiz
  • build
  • construct
  • getServices
    Returns a list of register services being tracked.
  • getTopService
    Returns the top service being tracked.
  • setContext
    Sets the BundleContext to monitor.
  • setFilter
    Sets the filter for the service properties.
  • setTrackedClassName

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • JTable (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
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