fr.imag.adele.bundle.upnp.ogd.service
Class BundleAdmin.ServiceEventModifiedStateVariable

java.lang.Object
  extended byfr.imag.adele.util.upnp.AbstractUPnPStateVariable
      extended byfr.imag.adele.bundle.upnp.ogd.service.BundleAdmin.ServiceEventModifiedStateVariable
All Implemented Interfaces:
org.osgi.framework.BundleActivator, org.osgi.service.upnp.UPnPStateVariable, it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor
Enclosing class:
BundleAdmin

public class BundleAdmin.ServiceEventModifiedStateVariable
extends fr.imag.adele.util.upnp.AbstractUPnPStateVariable
implements it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor


Field Summary
static String DATATYPE
           
static String NAME
           
 
Fields inherited from class fr.imag.adele.util.upnp.AbstractUPnPStateVariable
ALLOWED_VALUES, DATA_TYPE, DEFAULT_VALUE, MAX, MIN, OPTIONAL, SENDEVENT, STEP, upnpService
 
Fields inherited from interface org.osgi.service.upnp.UPnPStateVariable
TYPE_BIN_BASE64, TYPE_BIN_HEX, TYPE_BOOLEAN, TYPE_CHAR, TYPE_DATE, TYPE_DATETIME, TYPE_DATETIME_TZ, TYPE_FIXED_14_4, TYPE_FLOAT, TYPE_I1, TYPE_I2, TYPE_I4, TYPE_INT, TYPE_NUMBER, TYPE_R4, TYPE_R8, TYPE_STRING, TYPE_TIME, TYPE_TIME_TZ, TYPE_UI1, TYPE_UI2, TYPE_UI4, TYPE_URI, TYPE_UUID
 
Constructor Summary
BundleAdmin.ServiceEventModifiedStateVariable(org.osgi.service.upnp.UPnPService upnpService, BundleAdminModel model)
           
 
Method Summary
 Object getValue()
          invoked for the first notification just after a subscription
 void start(org.osgi.framework.BundleContext bundleContext)
           
 void stop(org.osgi.framework.BundleContext bundleContext)
           
 
Methods inherited from class fr.imag.adele.util.upnp.AbstractUPnPStateVariable
getAllowedValues, getDefaultValue, getJavaDataType, getMaximum, getMinimum, getName, getStep, getUPnPDataType, sendsEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.osgi.service.upnp.UPnPStateVariable
getAllowedValues, getDefaultValue, getJavaDataType, getMaximum, getMinimum, getName, getStep, getUPnPDataType, sendsEvents
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

DATATYPE

public static final String DATATYPE
See Also:
Constant Field Values
Constructor Detail

BundleAdmin.ServiceEventModifiedStateVariable

public BundleAdmin.ServiceEventModifiedStateVariable(org.osgi.service.upnp.UPnPService upnpService,
                                                     BundleAdminModel model)
Method Detail

start

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

stop

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

getValue

public Object getValue()
invoked for the first notification just after a subscription

Specified by:
getValue in interface it.cnr.isti.niche.osgi.upnp.util.UPnPStateVariableDescriptor
See Also:
UPnPStateVariableDescriptor.getValue()