1 21 22 package org.apache.derby.iapi.services.context; 23 24 41 public abstract class ContextImpl 42 implements Context 43 { 44 private final String myIdName; 45 private final ContextManager myContextManager; 46 47 50 protected ContextImpl(ContextManager cm, String id) { 51 myIdName = id; 52 myContextManager = cm; 53 cm.pushContext(this); 54 } 55 56 59 62 final public ContextManager getContextManager() 63 { 64 return myContextManager; 65 } 66 67 70 final public String getIdName() 71 { 72 return myIdName; 73 } 74 75 final public void pushMe() { 76 getContextManager().pushContext(this); 77 } 78 79 80 final public void popMe() { 81 getContextManager().popContext(this); 82 } 83 84 87 public boolean isLastHandler(int severity) 88 { 89 return false; 90 } 91 92 public StringBuffer appendErrorInfo() { 93 return null; 94 } 95 } 96 | Popular Tags |