org.universAAL.reliability.reasoner
Class ReliabilityReasonerActivator

Package class diagram package ReliabilityReasonerActivator
java.lang.Object
  extended by org.universAAL.reliability.reasoner.ReliabilityReasonerActivator
All Implemented Interfaces:
EventListener, org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener

public class ReliabilityReasonerActivator
extends Object
implements org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener


Field Summary
static ModuleContext context
           
static ContextPublisher cpublisher
           
static ContextSubscriber csubscriber
           
static org.osgi.framework.BundleContext osgiContext
           
static SCaller scaller
           
 
Constructor Summary
ReliabilityReasonerActivator()
           
 
Method Summary
static Object getFileLock()
          For synchronization
 void serviceChanged(org.osgi.framework.ServiceEvent event)
           
 void start(org.osgi.framework.BundleContext bcontext)
           
 void stop(org.osgi.framework.BundleContext arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

osgiContext

public static org.osgi.framework.BundleContext osgiContext

context

public static ModuleContext context

cpublisher

public static ContextPublisher cpublisher

csubscriber

public static ContextSubscriber csubscriber

scaller

public static SCaller scaller
Constructor Detail

ReliabilityReasonerActivator

public ReliabilityReasonerActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bcontext)
           throws Exception
Specified by:
start in interface org.osgi.framework.BundleActivator
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext arg0)
          throws Exception
Specified by:
stop in interface org.osgi.framework.BundleActivator
Throws:
Exception

getFileLock

public static Object getFileLock()
For synchronization

Returns:
A generic object serving as lock

serviceChanged

public void serviceChanged(org.osgi.framework.ServiceEvent event)
Specified by:
serviceChanged in interface org.osgi.framework.ServiceListener


Copyright © 2014 universAAL Consortium. All Rights Reserved.