org.apache.felix.dm.test.bundle.annotation.factory
Class MyService

java.lang.Object
  extended by org.apache.felix.dm.test.bundle.annotation.factory.MyService
All Implemented Interfaces:
MyServiceInterface

public class MyService
extends Object
implements MyServiceInterface

This service will be instantiated by our MyServiceFactory class.


Constructor Summary
MyService()
           
 
Method Summary
 void added(String instanceId)
           
 void changed(String modified)
           
 void configure( configuration)
          This is the first method called: we are provided with the MyServiceFactory configuration.
 void removed()
           
 void start()
          our Service is starting: at this point, all required dependencies have been injected.
 void stop()
          Our service is stopping.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyService

public MyService()
Method Detail

configure

public void configure( configuration)
This is the first method called: we are provided with the MyServiceFactory configuration.


start

public void start()
our Service is starting: at this point, all required dependencies have been injected.


stop

public void stop()
Our service is stopping.


added

public void added(String instanceId)
Specified by:
added in interface MyServiceInterface

changed

public void changed(String modified)
Specified by:
changed in interface MyServiceInterface

removed

public void removed()
Specified by:
removed in interface MyServiceInterface


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.