/*
 * JBoss, Home of Professional Open Source
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.management.j2ee.factory;

import javax.management.MBeanServer;
import javax.management.ObjectName;

/**
 * @author Scott.Stark@jboss.org
 * @version $Revision: 1.5.6.1 $
 */
public interface ManagedObjectFactory
{
   public ObjectName create(MBeanServer server, Object data);

   public void destroy(MBeanServer server, Object data);
}
