1 28 29 package com.caucho.jmx; 30 31 import com.caucho.log.Log; 32 import com.caucho.util.L10N; 33 34 import java.io.ObjectStreamException ; 35 import java.io.Serializable ; 36 import java.util.logging.Logger ; 37 38 41 public class MBeanStub implements Serializable { 42 private static final Logger log = Log.open(MBeanStub.class); 43 private static final L10N L = new L10N(MBeanStub.class); 44 45 private String _name; 46 47 MBeanStub(String name) 48 { 49 _name = name; 50 } 51 52 MBeanStub() 53 { 54 } 55 56 59 public String getName() 60 { 61 return _name; 62 } 63 64 67 public Object readResolve() 68 throws ObjectStreamException 69 { 70 return null; 71 81 } 82 83 static class StubException extends ObjectStreamException { 84 Throwable _cause; 85 86 StubException(Throwable e) 87 { 88 _cause = e; 89 } 90 91 public Throwable getCause() 92 { 93 return _cause; 94 } 95 } 96 } 97 98 | Popular Tags |