[java-opensaml COMMIT] in /trunk: opensaml-profile-api/src/main/java/org/opensaml/profile/context/ErrorEventContext.j...
noreply at shibboleth.net
noreply at shibboleth.net
Sat Apr 12 17:19:58 EDT 2014
Author: scantor
Date: Sat Apr 12 17:19:58 2014
New Revision: 3785
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3785&view=rev
Log:
Checkpointing some error handling code.
Added:
trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/context/ErrorEventContext.java (with props)
trunk/opensaml-profile-impl/src/main/java/org/opensaml/profile/action/impl/SavePreviousEventAsError.java (with props)
Modified:
trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/context/PreviousEventContext.java
Modified: trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/context/PreviousEventContext.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/context/PreviousEventContext.java?rev=3785&r1=3784&r2=3785&view=diff
==============================================================================
--- trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/context/PreviousEventContext.java (original)
+++ trunk/opensaml-profile-api/src/main/java/org/opensaml/profile/context/PreviousEventContext.java Sat Apr 12 17:19:58 2014
@@ -17,38 +17,12 @@
package org.opensaml.profile.context;
-import javax.annotation.Nullable;
-
-import org.opensaml.messaging.context.BaseContext;
-
-
/**
* A context component which holds the last result produced by a profile action that produced
* an "event".
*
* @param <EventType> the event type of the context
*/
-public class PreviousEventContext<EventType> extends BaseContext {
-
- /** The event represented. */
- private EventType event;
-
- /**
- * Get the event represented by the context.
- *
- * @return the event
- */
- @Nullable public EventType getEvent() {
- return event;
- }
-
- /**
- * Set the event represented by the context.
- *
- * @param newEvent the event
- */
- public void setEvent(@Nullable final EventType newEvent) {
- event = newEvent;
- }
+public class PreviousEventContext<EventType> extends EventContext {
}
More information about the commits
mailing list