/*
 * JBoss, the OpenSource J2EE webOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

// $Id: ObjectNameDeser.java,v 1.4.8.1 2005/03/02 14:19:55 tdiesler Exp $

package org.jboss.net.jmx.adaptor;

import org.jboss.axis.encoding.ser.SimpleDeserializer;

import javax.management.ObjectName;
import javax.xml.namespace.QName;

/**
 * @author <a href="mailto:a_taherkordi@users.sourceforge.net">Alireza Taherkordi</a>
 * @version $Revision: 1.4.8.1 $
 */

public class ObjectNameDeser extends SimpleDeserializer
{

   public ObjectNameDeser(Class javaType, QName xmlType)
   {
      super(javaType, xmlType);
   }

   /* (non-Javadoc)
    * @see org.jboss.axis.encoding.ser.SimpleDeserializer#makeValue(java.lang.String)
    */
   public Object makeValue(String arg0) throws Exception
   {
      return new ObjectName(arg0);
   }

}
