1 24 package fr.dyade.aaa.jndi2.impl; 25 26 import java.io.*; 27 import javax.naming.*; 28 29 public class NamingContextInfo implements Serializable { 30 31 private NamingContext namingContext; 32 33 private CompositeName name; 34 35 public NamingContextInfo(NamingContext namingContext, 36 CompositeName name) { 37 this.namingContext = namingContext; 38 this.name = name; 39 } 40 41 public final NamingContext getNamingContext() { 42 return namingContext; 43 } 44 45 public final CompositeName getCompositeName() { 46 return name; 47 } 48 49 public String toString() { 50 return '(' + super.toString() + 51 ",namingContext=" + namingContext + 52 ",name=" + name + ')'; 53 } 54 } 55 | Popular Tags |