Interface UPNPMBeanBuilder

    • Method Detail

      • select

        boolean select​(ObjectName objectName,
                       String className)
        Select if the given MBean represented by it's object name, implemented by class className can be exposed as an UPNP Device
        Parameters:
        objectName - the MBean object name
        className - the MBean class name
        Returns:
        true if the MBean can be exposed false otherwise..
      • buildUPNPMBean

        UPNPMBeanDevice buildUPNPMBean​(MBeanServer server,
                                       ObjectInstance objectInstance,
                                       MBeanInfo info)
                                throws IOException
        Build the UPNP MBean device, the method is NOT forced to return an UPNPMBeanDevice object. The method must NOT start or bind to any network interface the UPNPMBeanDevice returned object
        Parameters:
        server - the Mbean server, never null
        objectInstance - the MBean object instance, never null
        info - the MBean Object Info, never null
        Returns:
        an instance (or null) of an UPNPMBeanDevice object. The implementation can deliver an UPNPMBeanDevice object containing multiple MBeans provided (or not) by previous buildUPNPMBean methods call.
        Throws:
        IOException - if some errors occurs during object creation