1 24 package org.objectweb.joram.client.jms.admin; 25 26 import javax.naming.NamingException ; 27 import javax.naming.Reference ; 28 29 import fr.dyade.aaa.jndi2.soap.SoapObjectItf; 30 31 import org.objectweb.joram.shared.JoramTracing; 32 import org.objectweb.util.monolog.api.BasicLevel; 33 34 38 public abstract class AdministeredObject implements javax.naming.Referenceable { 39 public final Reference getReference() throws NamingException { 40 Reference ref = null; 41 ref = new Reference (this.getClass().getName(), ObjectFactory.class.getName(), null); 42 toReference(ref); 43 return ref; 44 } 45 46 47 public abstract void toReference(Reference ref) throws NamingException ; 48 49 50 public abstract void fromReference(Reference ref) throws NamingException ; 51 } 52 | Popular Tags |