1 23 package fr.dyade.aaa.jndi2.server; 24 25 import fr.dyade.aaa.jndi2.msg.*; 26 27 import javax.naming.*; 28 29 public abstract class RequestContext 30 implements java.io.Serializable { 31 32 private CompositeName resolvedName; 33 34 public RequestContext() { 35 this.resolvedName = null; 36 } 37 38 public abstract JndiRequest getRequest(); 39 40 public abstract void reply(JndiReply reply); 41 42 public void setResolvedName(CompositeName resolvedName) { 43 this.resolvedName = resolvedName; 44 } 45 46 public final CompositeName getResolvedName() { 47 return resolvedName; 48 } 49 50 public String toString() { 51 return '(' + super.toString() + 52 ",resolvedName=" + resolvedName + ')'; 53 } 54 } 55 | Popular Tags |