1 23 24 package com.sun.enterprise.resource; 25 26 import java.util.Enumeration ; 27 import java.util.Hashtable ; 28 import javax.naming.Context ; 29 import javax.naming.Name ; 30 import javax.naming.NamingException ; 31 import javax.naming.RefAddr ; 32 import javax.naming.Reference ; 33 import javax.naming.spi.ObjectFactory ; 34 35 38 public class ProxyRefAddr extends RefAddr { 39 42 Hashtable env; 43 44 public ProxyRefAddr(String addrType, Hashtable env) { 45 super(addrType); 46 47 this.env = env; 48 } 49 50 public Object getContent() { 51 return env; 52 } 53 } 54 | Popular Tags |