PortalEventSource
PortalEventSource is a proposed addition for 2.5
package org.jasig.portal; /** * Represents the source of the PortalEvent. * * @author andrew.petro@yale.edu * @version $Revision:$ $Date:$ */ public class PortalEventSource { public static final PortalEventSource LAYOUT_GENERATED = new PortalEventSource("layout"); public static final PortalEventSource FRAMEWORK_GENERATED = new PortalEventSource("framework"); /** String representation of the type of event source. */ private final String typeName; private PortalEventSource(String name) { this.typeName = name; } public String toString() { return this.typeName; } }