de.unikassel.android.sdcframework.util
Class LifeCycleObjectImpl

Package class diagram package LifeCycleObjectImpl
java.lang.Object
  extended by de.unikassel.android.sdcframework.util.LifeCycleObjectImpl
All Implemented Interfaces:
LifeCycleObject
Direct Known Subclasses:
LocationTracker, SensorDeviceManagerImpl, ServiceManagerImpl

public class LifeCycleObjectImpl
extends Object
implements LifeCycleObject

Basic implementation of the LifeCycleObject interface, to be used as bas class for types which do share the Android service life cycle.
Does provide log messages at information level in case of method invocation.


Constructor Summary
LifeCycleObjectImpl()
           
 
Method Summary
 void onCreate(Context applicationContext)
          Creation method
 void onDestroy(Context applicationContext)
          Destroy method
 void onPause(Context applicationContext)
          Pause method
 void onResume(Context applicationContext)
          Resume method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifeCycleObjectImpl

public LifeCycleObjectImpl()
Method Detail

onResume

public void onResume(Context applicationContext)
Description copied from interface: LifeCycleObject
Resume method

Specified by:
onResume in interface LifeCycleObject
Parameters:
applicationContext - the application context

onPause

public void onPause(Context applicationContext)
Description copied from interface: LifeCycleObject
Pause method

Specified by:
onPause in interface LifeCycleObject
Parameters:
applicationContext - the application context

onCreate

public void onCreate(Context applicationContext)
Description copied from interface: LifeCycleObject
Creation method

Specified by:
onCreate in interface LifeCycleObject
Parameters:
applicationContext - the application context

onDestroy

public void onDestroy(Context applicationContext)
Description copied from interface: LifeCycleObject
Destroy method

Specified by:
onDestroy in interface LifeCycleObject
Parameters:
applicationContext - the application context