com.tc.object.config
Interface OsgiServiceSpec

All Known Subinterfaces:
ModuleSpec, SRASpec
All Known Implementing Classes:
AbstractModuleSpec

public interface OsgiServiceSpec

This interface defines the contract between StandardDsoClientConfigHelper and a module so that the configHelper can get information from a module. The concept of "rank" comes from the OSGi "service rank", which lets you define how likely a service is to be returned as the default service from a bundle.

See Also:
org.osgi.framework.BundleContext#getServiceReference, org.osgi.framework.Constants#SERVICE_RANKING

Field Summary
static java.lang.Integer HIGH_RANK
          OSGi service ranking defining which service is returned - HIGH=2
static java.lang.Integer LOW_RANK
          OSGi service ranking defining which service is returned - LOW=0
static java.lang.Integer NORMAL_RANK
          OSGi service ranking defining which service is returned - NORMAL=1
 

Field Detail

LOW_RANK

static final java.lang.Integer LOW_RANK
OSGi service ranking defining which service is returned - LOW=0


NORMAL_RANK

static final java.lang.Integer NORMAL_RANK
OSGi service ranking defining which service is returned - NORMAL=1


HIGH_RANK

static final java.lang.Integer HIGH_RANK
OSGi service ranking defining which service is returned - HIGH=2



Copyright © 2010 Terracotta, Inc.. All Rights Reserved.