[java-opensaml COMMIT] /trunk/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/InOutOperationConte...

noreply at shibboleth.net noreply at shibboleth.net
Thu Jan 26 23:56:45 GMT 2012


Author: putmanb
Date: Thu Jan 26 23:56:44 2012
New Revision: 2938

URL: http://svn.shibboleth.net/view/java-opensaml?rev=2938&view=rev
Log:
Add setters back in to context class.

Modified:
    trunk/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/InOutOperationContext.java

Modified: trunk/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/InOutOperationContext.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/InOutOperationContext.java?rev=2938&r1=2937&r2=2938&view=diff
==============================================================================
--- trunk/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/InOutOperationContext.java (original)
+++ trunk/opensaml-messaging-api/src/main/java/org/opensaml/messaging/context/InOutOperationContext.java Thu Jan 26 23:56:44 2012
@@ -62,6 +62,15 @@
     public MessageContext<InboundMessageType> getInboundMessageContext() {
         return inboundContext;
     }
+    
+    /**
+     * Sets the inbound message context.
+     * 
+     * @param context inbound message context, may be null
+     */
+    public void setInboundMessageContext(MessageContext<InboundMessageType> context) {
+        inboundContext = context;
+    }
 
     /**
      * The outbound message context instance.
@@ -71,5 +80,14 @@
     public MessageContext<OutboundMessageType> getOutboundMessageContext() {
         return outboundContext;
     }
+    
+    /**
+     * Sets the outbound message context.
+     * 
+     * @param context outbound message context, may be null
+     */
+    public void setOutboundMessageContext(MessageContext<OutboundMessageType> context) {
+        outboundContext = context;
+    }
 
 }



More information about the commits mailing list