1 23 package fr.dyade.aaa.jndi2.impl; 24 25 import javax.naming.*; 26 27 public class CreateSubcontextEvent extends UpdateEvent { 28 29 private CompositeName path; 30 31 private NamingContextId contextId; 32 33 private Object ownerId; 34 35 public CreateSubcontextEvent(NamingContextId updatedContextId, 36 String name, 37 CompositeName path, 38 NamingContextId contextId, 39 Object ownerId) { 40 super(updatedContextId, name); 41 this.path = path; 42 this.contextId = contextId; 43 this.ownerId = ownerId; 44 } 45 46 public final CompositeName getPath() { 47 return path; 48 } 49 50 public final NamingContextId getContextId() { 51 return contextId; 52 } 53 54 public final Object getOwnerId() { 55 return ownerId; 56 } 57 58 public String toString() { 59 return '(' + super.toString() + 60 ",path=" + path + 61 ",contextId=" + contextId + 62 ",ownerId=" + ownerId + ')'; 63 } 64 } 65 | Popular Tags |