1 22 package org.jboss.test.security.ejb.project.support; 23 24 import javax.naming.Binding ; 25 import javax.naming.directory.Attributes ; 26 27 33 public class DirBinding extends Binding 34 { 35 private transient Attributes attributes; 36 37 42 public DirBinding(String name, Object obj, Attributes attributes) 43 { 44 this(name, null, obj, true, attributes); 45 } 46 55 public DirBinding(String name, String className, Object obj, Attributes attributes) 56 { 57 this(name, className, obj, true, attributes); 58 } 59 68 public DirBinding(String name, String className, Object obj, boolean isRelative, 69 Attributes attributes) 70 { 71 super(name, className, obj, isRelative); 72 this.attributes = attributes; 73 } 74 75 public Attributes getAttributes() 76 { 77 return attributes; 78 } 79 public void setAttributes(Attributes attributes) 80 { 81 this.attributes = attributes; 82 } 83 } 84 | Popular Tags |