1 9 package org.jboss.portal.server.invocation; 10 11 17 public class AttachmentKey 18 { 19 20 public static final AttachmentKey INVOCATION_TYPE = new AttachmentKey("INVOCATION_TYPE"); 21 22 23 public static final AttachmentKey PORTAL_REQUEST = new AttachmentKey("PORTAL_REQUEST"); 24 25 26 public static final AttachmentKey PORTAL_RESPONSE = new AttachmentKey("PORTAL_RESPONSE"); 27 28 29 public static final AttachmentKey DISPATCHED_REQUEST = new AttachmentKey("DISPATCHED_REQUEST"); 30 31 32 public static final AttachmentKey DISPATCHED_RESPONSE = new AttachmentKey("DISPATCHED_RESPONSE"); 33 34 35 public static final AttachmentKey REQUEST_PROPERTIES = new AttachmentKey("REQUEST_PROPERTIES"); 36 37 38 public static final AttachmentKey RESPONSE_PROPERTIES = new AttachmentKey("RESPONSE_PROPERTIES"); 39 40 41 public static final AttachmentKey WINDOW_CONTEXT = new AttachmentKey("WINDOW_CONTEXT"); 42 43 44 public static final AttachmentKey WINDOW = new AttachmentKey("WINDOW"); 45 46 47 public static final AttachmentKey USER_CONTEXT = new AttachmentKey("USER_CONTEXT"); 48 49 50 public static final AttachmentKey VIEW = new AttachmentKey("VIEW"); 51 52 53 public static final AttachmentKey PORTAL = new AttachmentKey("PORTAL"); 54 55 56 public static final AttachmentKey MODE = new AttachmentKey("MODE"); 57 58 59 public static final AttachmentKey WINDOW_STATE = new AttachmentKey("WINDOW_STATE"); 60 61 62 public static final AttachmentKey LAYOUT = new AttachmentKey("LAYOUT"); 63 64 65 public static final AttachmentKey LAYOUT_URI = new AttachmentKey("LAYOUT_URI"); 66 67 private final String name; 68 69 protected AttachmentKey(String name) 70 { 71 if (name == null) 72 { 73 throw new NullPointerException ("Cannot be null"); 74 } 75 this.name = name; 76 } 77 78 public String toString() 79 { 80 return name; 81 } 82 83 } 84 | Popular Tags |