net.sbbi.upnp.jmx
Class UPNPMBeanService

java.lang.Object
  extended by net.sbbi.upnp.jmx.UPNPMBeanService

public class UPNPMBeanService
extends Object

Class to expose an JMX Mbean as an UPNP device service, this class shouldn't be used directly

Version:
1.0
Author:
SuperBonBon

Constructor Summary
protected UPNPMBeanService(String deviceUUID, String vendorDomain, String serviceId, String serviceType, int serviceVersion, javax.management.MBeanInfo mbeanInfo, javax.management.ObjectName mbeanName, javax.management.MBeanServer targetServer)
           
 
Method Summary
protected  Object getAttribute(String attributeName)
           
protected  String getDeviceSCDP()
           
protected  String getDeviceUUID()
           
 javax.management.MBeanInfo getMBeanInfo()
           
protected  javax.management.ObjectName getObjectName()
           
protected  Map getOperationsStateVariables()
           
protected  String getServiceInfo()
           
protected  String getServiceType()
           
protected  String getServiceUUID()
           
protected  Class getTargetBeanClass()
           
protected  Object invoke(String actionName, Object[] params, String[] signature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UPNPMBeanService

protected UPNPMBeanService(String deviceUUID,
                           String vendorDomain,
                           String serviceId,
                           String serviceType,
                           int serviceVersion,
                           javax.management.MBeanInfo mbeanInfo,
                           javax.management.ObjectName mbeanName,
                           javax.management.MBeanServer targetServer)
                    throws IOException
Throws:
IOException
Method Detail

getServiceUUID

protected String getServiceUUID()

getDeviceUUID

protected String getDeviceUUID()

getServiceInfo

protected String getServiceInfo()

getOperationsStateVariables

protected Map getOperationsStateVariables()

getDeviceSCDP

protected String getDeviceSCDP()

getServiceType

protected String getServiceType()

getTargetBeanClass

protected Class getTargetBeanClass()

getObjectName

protected javax.management.ObjectName getObjectName()

getAttribute

protected Object getAttribute(String attributeName)
                       throws javax.management.InstanceNotFoundException,
                              javax.management.AttributeNotFoundException,
                              javax.management.ReflectionException,
                              javax.management.MBeanException
Throws:
javax.management.InstanceNotFoundException
javax.management.AttributeNotFoundException
javax.management.ReflectionException
javax.management.MBeanException

invoke

protected Object invoke(String actionName,
                        Object[] params,
                        String[] signature)
                 throws javax.management.ReflectionException,
                        javax.management.InstanceNotFoundException,
                        javax.management.MBeanException
Throws:
javax.management.ReflectionException
javax.management.InstanceNotFoundException
javax.management.MBeanException

getMBeanInfo

public javax.management.MBeanInfo getMBeanInfo()


Copyright © 2010. All Rights Reserved.