org.mobicents.media.server.impl.dsp.audio.g729
Class Codec

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.mobicents.media.server.impl.dsp.audio.g729.Codec
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean, CodecMBean

public class Codec
extends org.jboss.system.ServiceMBeanSupport
implements CodecMBean

Author:
Oleg Kulikov

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
Codec()
           
 
Method Summary
 org.mobicents.media.Format[] getInputFormats()
          Gets the list of supported input formats.
 java.lang.String getJndiName()
          Gets the JNDI name of the Codec Factory.
 org.mobicents.media.Format[] getOutputFormats()
          Gets the list of supported output formats.
 void setJndiName(java.lang.String jndiName)
          Modify the JNDI name of the Code Factory.
 void startService()
           
 void stopService()
           
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

Codec

public Codec()
Method Detail

getJndiName

public java.lang.String getJndiName()
Description copied from interface: CodecMBean
Gets the JNDI name of the Codec Factory.

Specified by:
getJndiName in interface CodecMBean
Returns:
the JNDI name string.

setJndiName

public void setJndiName(java.lang.String jndiName)
                 throws javax.naming.NamingException
Description copied from interface: CodecMBean
Modify the JNDI name of the Code Factory.

Specified by:
setJndiName in interface CodecMBean
Parameters:
jndiName - the new value of the Jndi name.
Throws:
javax.naming.NamingException

getInputFormats

public org.mobicents.media.Format[] getInputFormats()
Description copied from interface: CodecMBean
Gets the list of supported input formats.

Specified by:
getInputFormats in interface CodecMBean
Returns:
the list of formats.

getOutputFormats

public org.mobicents.media.Format[] getOutputFormats()
Description copied from interface: CodecMBean
Gets the list of supported output formats.

Specified by:
getOutputFormats in interface CodecMBean
Returns:
the list of formats.

startService

public void startService()
                  throws java.lang.Exception
Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
java.lang.Exception

stopService

public void stopService()
Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport


Copyright © 2008. All Rights Reserved.