/*
 * JBoss, the OpenSource J2EE webOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.media.engine;

/**
 * MBean interface.
 */
public interface MediaPublisherFactoryMBean extends org.jboss.system.ServiceMBean
{

   /**
    * Creates a media publisher according to the parameters passed
    */
   javax.management.ObjectName createPublisher(java.lang.String publisherClassName, java.lang.String context,
         java.lang.String host, int port, java.lang.String arguments, java.lang.String fileName);

   /**
    * Creates a media publisher according to the parameters passed
    */
   void destroyPublisher(javax.management.ObjectName name);

   /**
    * return the objectname that we are goint to use
    */
   javax.management.ObjectName getObjectName(java.lang.String publisherClassName, java.lang.String context);

}
