ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ashut...@apache.org
Subject svn commit: r191659 [2/2] - in /webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc: ./ encoding/ handler/ handler/soap/ holders/ security/ server/ soap/
Date Tue, 21 Jun 2005 14:12:34 GMT
Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/GenericHandler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/GenericHandler.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/GenericHandler.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/GenericHandler.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,127 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler;
+
+import javax.xml.namespace.QName;
+
+
+/**
+ * public abstract class GenericHandler
+ * extends java.lang.Object
+ * implements <code>Handler</code>
+ * <p>
+ * The javax.xml.rpc.handler.GenericHandler class implements the Handler interface. SOAP Message Handler
+ * developers should typically subclass GenericHandler class unless the Handler class needs another class as a superclass.
+ * <p>
+ * The GenericHandler class is a convenience abstract class that makes writing Handlers easy. This class provides default
+ * implementations of the lifecycle methods init  and destroy and also different handle methods. A Handler developer should
+ * only override methods that it needs to specialize as part of the derived Handler implementation class.
+ * 
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public class GenericHandler implements Handler, HandlerLifecycle {
+
+	protected GenericHandler(){
+		
+	}
+	
+	/**
+	 * The handleRequest method processes the request SOAP message. The default implementation of this method returns
+	 * true. This indicates that the handler chain should continue processing of the request SOAP message. This method should
+	 * be overridden if the derived Handler class needs to specialize implementation of this method.
+	 * @param context - MessageContext parameter provides access to the request message.
+	 * @return
+	 * 	boolean Indicates the processing mode
+	 * -Return true to indicate continued processing of the request handler chain. The HandlerChain  takes the
+	 * responsibility of invoking the next entity. The next entity may be the next handler in the HandlerChain or if
+	 * this handler is the last handler in the chain, the next entity is the service endpoint object.
+	 * -Return false to indicate blocking of the request handler chain. In this case, further processing of the request
+	 * handler chain is blocked and the target service endpoint is not dispatched. The JAX-RPC runtime system
+	 * takes the responsibility of invoking the response handler chain next with the SOAPMessageContext. The
+	 * Handler implementation class has the the responsibility of setting the appropriate response SOAP message in
+	 * either handleRequest and/or handleResponse method. In the default processing model, the response handler
+	 * chain starts processing from the same Handler instance (that returned false) and goes backward in the
+	 * execution sequence.
+	 * @see javax.xml.rpc.handler.Handler#handleRequest(javax.xml.rpc.handler.MessageContext)
+	 */
+	public boolean handleRequest(MessageContext context)
+			throws JAXRPCException, SOAPFaultException {
+		// TODO Auto-generated method stub
+		return false;
+	}
+
+	/**
+	 * The handleResponse method processes the response message. The default implementation of this method returns true.
+	 * This indicates that the handler chain should continue processing of the response SOAP message. This method should be
+	 * overridden if the derived Handler class needs to specialize implementation of this method.
+	 * @param context - MessageContext parameter provides access to the response SOAP message
+	 * @return
+	 *  boolean Indicates the processing mode
+	 * - Return true to indicate continued processing ofthe response handler chain. The HandlerChain invokes the
+	 * handleResponse  method on the next Handler in the handler chain.
+	 * - Return false to indicate blocking of the response handler chain. In this case, no other response handlers in
+	 * the handler chain are invoked.
+	 * @see javax.xml.rpc.handler.Handler#handleResponse(javax.xml.rpc.handler.MessageContext)
+	 */
+	public boolean handleResponse(MessageContext context)
+			throws JAXRPCException {
+		// TODO Auto-generated method stub
+		return false;
+	}
+
+	/**
+	 * The handleFault method processes the SOAP faults based on the SOAP message processing model. The default
+	 * implementation of this method returns true. This indicates that the handler chain should continue processing of the SOAP
+	 * fault. This method should be overridden if the derived Handler class needs to specialize implementation of this method.
+	 * @param context - MessageContext parameter provides access to the SOAP message
+	 * @return boolean Indicates the processing mode
+	 * - Return true to indicate continued processing of SOAP Fault. The HandlerChain invokes the handleFault
+	 * method on the next Handler in the handler chain.
+	 * - Return false to indicate end of the SOAP fault processing. In this case, no other handlers in the handler
+	 * chain are invoked.
+	 * @see javax.xml.rpc.handler.Handler#handleFault(javax.xml.rpc.handler.MessageContext)
+	 */
+	public boolean handleFault(MessageContext context) throws JAXRPCException {
+		// TODO Auto-generated method stub
+		return false;
+	}
+
+	/**
+	 * Gets the header blocks processed by this Handler instance.
+	 * @return Array of QNames of header blocks processed by this handler instance. QName is the qualified name of the
+	 * outermost element of the Header block.
+	 * @see javax.xml.rpc.handler.Handler#getHeaders()
+	 */
+	public QName[] getHeaders() {
+		// TODO Auto-generated method stub
+		return null;
+	}
+
+	/**
+	 * The init method to enable the Handler instance to initialize itself. This method should be overridden if the derived
+	 * Handler class needs to specialize implementation of this method.
+	 * @param config - Configuration for the initialization of this handler
+	 * @see javax.xml.rpc.handler.HandlerLifecycle#init(null)
+	 */
+	public void init(HandlerInfo config) throws JAXRPCException {
+		// TODO Auto-generated method stub
+
+	}
+
+	/**
+	 * The destroy method indicates the end of lifecycle for a Handler instance. This method should be overridden if the
+	 * derived Handler class needs to specialize implementation of this method.
+	 * @see javax.xml.rpc.handler.HandlerLifecycle#destroy()
+	 */
+	public void destroy() throws JAXRPCException {
+		// TODO Auto-generated method stub
+
+	}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/Handler.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/Handler.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/Handler.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/Handler.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,94 @@
+/*
+ * Created on Jun 20, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler;
+
+import javax.xml.rpc.JAXRPCException;
+import javax.xml.rpc.soap.SOAPFaultException;
+
+/**
+ * public interface Handler extends HandlerLifecycle
+ * <p>
+ * The javax.xml.rpc.handler.Handler interface is required to be implemented by a SOAP message handler. The
+ * handleRequest, handleResponse and handleFault methods for a SOAP message handler get access to the SOAPMessage
+ * from the SOAPMessageContext. The implementation of these methods can modify the SOAPMessage including the headers and
+ * body elements.
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public interface Handler extends HandlerLifecycle {
+	
+	/**
+	 * The handleRequest method processes the request message.
+	 * @param context - MessageContext parameter provides access to the request message.
+	 * @return boolean Indicates the processing mode
+	 * 	-Return true to indicate continued processing of the request handler chain. The HandlerChain  takes the
+	 *  responsibility of invoking the next entity. The next entity may be the next handler in the HandlerChain or if
+	 * this handler is the last handler in the chain, the next entity is the service endpoint object.
+	 * -Return false to indicate blocking of the request handler chain. In this case, further processing of the request
+	 * handler chain is blocked and the target service endpoint is not dispatched. The JAX-RPC runtime system
+	 * takes the responsibility of invoking the response handler chain next with the SOAPMessageContext. The
+	 * Handler implementation class has the the responsibility of setting the appropriate response SOAP message in
+	 *  either handleRequest and/or handleResponse method. In the default processing model, the response handler
+	 * chain starts processing from the same Handler instance (that returned false) and goes backward in the
+	 * execution sequence.
+	 * @throws <code>JAXRPCException</code> - This exception indicates handler specific runtime error. If JAXRPCException is thrown by a
+	 * handleRequest method, the HandlerChain terminates the further processing of this handler chain. On the server side,
+	 *  the HandlerChain generates a SOAP fault that indicates that the message could not be processed for reasons not
+	 * directly attributable to the contents of the message itself but rather to a runtime error during the processing of the
+	 * message. On the client side, the exception is propagated to the client code
+	 * @throws <code>SOAPFaultException</code> - This indicates a SOAP fault. The Handler implementation class has the the responsibility
+	 * of setting the SOAP fault in the SOAP message in either handleRequest and/or handleFault method. If
+	 * SOAPFaultException is thrown by a server-side request handler's handleRequest method, the HandlerChain
+	 * terminates the further processing of the request handlers in this handler chain and invokes the handleFault method
+	 * on the HandlerChain with the SOAP message context. Next, the HandlerChain invokes the handleFault method on
+	 * handlers registered in the handler chain, beginning with the Handler instance that threw the exception and going
+	 * backward in execution. The client-side request handler's handleRequest method should not throw the
+	 * SOAPFaultException.
+	 */
+	boolean handleRequest(MessageContext context) throws JAXRPCException, SOAPFaultException;
+	
+	/**
+	 * The handleResponse method processes the response SOAP message.
+	 * @param context - MessageContext parameter provides access to the response SOAP message
+	 * @return boolean Indicates the processing mode
+	 * - Return true to indicate continued processing ofthe response handler chain. The HandlerChain invokes the
+	 * handleResponse  method on the next Handler in the handler chain.
+	 * - Return false to indicate blocking of the response handler chain. In this case, no other response handlers in
+	 * the handler chain are invoked.
+	 * @throws <code>JAXRPCException</code> - Indicates handler specific runtime error. If JAXRPCException is thrown by a
+	 * handleResponse method, the HandlerChain terminates the further processing of this handler chain. On the server
+	 * side, the HandlerChain generates a SOAP fault that indicates that the message could not be processed for reasons
+	 * not directly attributable to the contents of the message itself but rather to a runtime error during the processing of
+	 * the message. On the client side, the runtime exception is propagated to the client code.
+	 */
+	boolean handleResponse(MessageContext context) throws JAXRPCException;
+	
+	/**
+	 * The handleFault method processes the SOAP faults based on the SOAP message processing model.
+	 * @param context - MessageContext parameter provides access to the SOAP message
+	 * @return boolean Indicates the processing mode
+	 * - Return true to indicate continued processing of SOAP Fault. The HandlerChain invokes the handleFault
+	 * method on the next Handler in the handler chain.
+	 * - Return false to indicate end of the SOAP fault processing. In this case, no other handlers in the handler
+	 * chain are invoked.
+	 * @throws <code>JAXRPCException</code> - Indicates handler specific runtime error. If JAXRPCException is thrown by a handleFault
+	 * method, the HandlerChain terminates the further processing of this handler chain. On the server side, the
+	 * HandlerChain generates a SOAP fault that indicates that the message could not be processed for reasons not
+	 * directly attributable to the contents of the message itself but rather to a runtime error during the processing of the
+	 * message. On the client side, the JAXRPCException is propagated to the client code.
+	 */
+	boolean handleFault(MessageContext context) throws JAXRPCException;
+	
+	/**
+	 * Gets the header blocks that can be processed by this Handler instance.
+	 * @return Array of QNames of header blocks processed by this handler instance. QName is the qualified name of the
+	 * outermost element of the Header block.
+	 */
+	javax.xml.namespace.QName[] getHeaders();
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerChain.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerChain.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerChain.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerChain.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,96 @@
+/*
+ * Created on Jun 20, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler;
+
+import java.util.Collection;
+import java.util.List;
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * @deprecated JAX-RPC 1.1 didn't provide a way for a client to obtain an instance of HandlerChain. In JAX-RPC 2.0 the Binding interface and sub interfaces take over the role of HandlerChain
+ * 
+ * public interface HandlerChain extends java.util.List
+ * 
+ * The javax.xml.rpc.handler.HandlerChain represents a list of handlers. All elements in the HandlerChain are of the type
+ * javax.xml.rpc.handler.Handler.
+ * 
+ * An implementation class for the HandlerChain  interface abstracts the policy and mechanism for the invocation of the registered
+ * handlers.
+ * 
+ * @version 1.0
+ * @author shaas02
+ * @see javax.xml.rpc.Binding, javax.xml.rpc.soap.SOAPBinding, javax.xml.rpc.BindingProvider
+ */
+public interface HandlerChain extends Collection, Iterable, List {
+	
+	/**
+	 * @deprecated 
+	 * The handleRequest method initiates the request processing for this handler chain.
+	 * @param context - MessageContext parameter provides access to the request SOAP message.
+	 * @return boolean Returns true if all handlers in chain have been processed. Returns false  if a handler in the chain returned false from its handleRequest method.
+	 * @throws JAXRPCException - if any processing error happens
+	 * @see Handler.handleRequest(javax.xml.rpc.handler.MessageContext)
+	 */
+	boolean handleRequest(MessageContext context) throws JAXRPCException;
+	
+	/**
+	 * @deprecated 
+	 * The handleResponse method initiates the response processing for this handler chain.
+	 * @param context - MessageContext parameter provides access to the response SOAP message.
+	 * @return boolean Returns true if all handlers in chain have been processed. Returns false  if a handler in the chain returned false from its handleResponse method.
+	 * @throws JAXRPCException - if any processing error happens
+	 * @see Handler.handleResponse(javax.xml.rpc.handler.MessageContext)
+	 */
+	boolean handleResponse(MessageContext context) throws JAXRPCException;
+	
+	/**
+	 * @deprecated 
+	 * The handleFault method initiates the SOAP fault processing for this handler chain.
+	 * @param context - MessageContext parameter provides access to the SOAP message.
+	 * @return boolean Returns true if all handlers in chain have been processed. Returns false  if a handler in the chain returned false from its handleFault method.
+	 * @throws JAXRPCException  - if any processing error happens
+	 * @see Handler.handleFault(javax.xml.rpc.handler.MessageContext)
+	 */
+	boolean handleFault(MessageContext context) throws JAXRPCException;
+	
+	/**
+	 * @deprecated 
+	 * Initializes the configuration for a HandlerChain.
+	 * @param config - Configuration for the initialization of this handler chain
+	 * @throws JAXRPCException - If any error during initialization
+	 */
+	void init(java.util.Map config) throws JAXRPCException;
+	
+	/**
+	 * @deprecated 
+	 * Indicates the end of lifecycle for a HandlerChain.
+	 * @throws JAXRPCException - If any error during destroy
+	 */
+	void destroy() throws JAXRPCException;
+	
+	/**
+	 * @deprecated
+	 * Sets SOAP Actor roles for this HandlerChain. This specifies the set of roles in which this HandlerChain is to act for the
+	 * SOAP message processing at this SOAP node. These roles assumed by a HandlerChain must be invariant during the
+	 * processing of an individual SOAP message through the HandlerChain.
+	 * 
+	 * A HandlerChain always acts in the role of the special SOAP actor next. Refer to the SOAP specification for the URI
+	 * name for this special SOAP actor. There is no need to set this special role using this method. 
+	 * @param soapActorNames  - URIs for SOAP actor name
+	 * @see javax.xml.rpc.NamespaceConstants
+	 */
+	void setRoles(java.lang.String[] soapActorNames);
+	
+	/**
+	 * @deprecated
+	 * Gets SOAP actor roles registered for this HandlerChain at this SOAP node. The returned array includes the special
+	 * SOAP actor next.
+	 * @return String[] SOAP Actor roles as URIs
+	 */
+	java.lang.String[] getRoles();
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerInfo.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerInfo.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerInfo.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerInfo.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,92 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler;
+
+import java.io.Serializable;
+
+/**
+ * public class HandlerInfo
+ * extends java.lang.Object
+ * implements java.io.Serializable
+ * <p>
+ * The javax.xml.rpc.handler.HandlerInfo represents information about a handler in the HandlerChain. A HandlerInfo
+ * instance is passed in the Handler.init method to initialize a Handler instance.
+ * @version 1.0
+ * @author shaas02
+ * @see <code>HandlerChain</code>, <code>SerializedForm</code>
+ */
+public class HandlerInfo implements Serializable {
+	
+	/**
+	 * Default constructor
+	 */
+	HandlerInfo(){
+		
+	}
+
+	/**
+	 * Constructor for HandlerInfo
+	 * @param handlerClass - Java Class for the Handler
+	 * @param config - Handler Configuration as a java.util.Map
+	 * @param headers -  - QNames for the header blocks processed by this Handler. QName is the qualified name of the
+	 * outermost element of a header block
+	 */
+	HandlerInfo(java.lang.Class handlerClass, java.util.Map config,
+			javax.xml.namespace.QName[] headers){
+		
+	}
+	
+	/**
+	 * Sets the Handler class
+	 * @param handlerClass - Class for the Handler
+	 */
+	public void setHandlerClass(java.lang.Class handlerClass){
+		
+	}
+	
+	/**
+	 * Gets the Handler class
+	 * @return Returns null if no Handler class has been set; otherwise the set handler class
+	 */
+	public java.lang.Class getHandlerClass(){
+		return null;
+	}
+	
+	/**
+	 * Sets the Handler configuration as java.util.Map
+	 * @param config - Configuration map
+	 */
+	public void setHandlerConfig(java.util.Map config){
+		
+	}
+	
+	/**
+	 * Gets the Handler configuration
+	 * @return Returns empty Map if no configuration map has been set; otherwise returns the set configuration map
+	 */
+	public java.util.Map getHandlerConfig(){
+		return null;
+	}
+	
+	/**
+	 * Sets the header blocks processed by this Handler.
+	 * @param headers - QNames of the header blocks. QName is the qualified name of the outermost element of the SOAP
+	 * header block
+	 */
+	public void setHeaders(javax.xml.namespace.QName[] headers){
+		
+	}
+	
+	/**
+	 * Gets the header blocks processed by this Handler.
+	 * @return Array of QNames for the header blocks. Returns null if no header blocks have been set using the setHeaders
+	 * method.
+	 */
+	public javax.xml.namespace.QName[] getHeaders(){
+		return null;
+	}
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerLifecycle.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerLifecycle.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerLifecycle.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerLifecycle.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,42 @@
+/*
+ * Created on Jun 20, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler;
+
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * public interface HandlerLifecycle
+ * 
+ * The javax.xml.rpc.handler.HandlerLifecycle interface is is the base interface for all JAX-RPC handlers.
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public interface HandlerLifecycle {
+	
+	/**
+	 * The init method enables the handler instance to initialize itself. The init method passes the handler configuration as a
+	 * HandlerInfo instance. The HandlerInfo is used to configure the handler (for example: setup access to an external
+	 * resource or service) during the initialization.
+	 * 
+	 * In the init method, the handler class may get access to any resources (for example; access to a logging service or
+	 * database) and maintain these as part of its instance variables. Note that these instance variables must not have any state
+	 * specific to the message processing performed in the various handle methods.
+	 * 
+	 * @param config - Configuration for the initialization of this handler
+	 * 
+	 * @throws JAXRPCException - If initialization of the handler fails
+	 */
+	void init(HandlerInfo config) throws JAXRPCException;
+	
+	/**
+	 * The destroy method indicates the end of lifecycle for a Handler instance. The handler implementation class should
+	 * release its resources and perform cleanup in the implementation of the destroy method.
+	 * @throws JAXRPCException - If any error during destroy
+	 */
+	void destroy() throws JAXRPCException;
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerRegistry.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerRegistry.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerRegistry.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/HandlerRegistry.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,92 @@
+/*
+ * Created on Jun 20, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler;
+
+import java.io.Serializable;
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * public interface HandlerRegistry extends java.io.Serializable
+ * The javax.xml.rpc.handler.HandlerRegistry provides support for the programmatic configuration of handlers in a
+ * HandlerRegistry.
+ * 
+ * Handler chains may be registered on a per-service, per-port and per -protcol binding basis. The complete handler chain for a
+ * stub, dynamic proxy, Dispatch or Call instance is a concatenation of the per-service handler chain, the handler chain for the
+ * relevent port and the handler chain for the protocol binding in use.
+ * @version 1.0
+ * @author shaas02
+ * @see javax.xml.rpc.Service
+ *
+ */
+public interface HandlerRegistry extends Serializable {
+	
+	/**
+	 * Gets the handler chain for the specified port. The returned List is used to configure this specific handler chain in this
+	 * HandlerRegistry. Each element in this list is required to be of the Java type
+	 * javax.xml.rpc.handler.HandlerInfo.
+	 * 
+	 * @param portName - Qualified name of the target service endpoint
+	 * @return java.util.List Handler chain
+	 * @throws java.lang.IllegalArgumentException - If an invalid portName is specified
+	 */
+	java.util.List getHandlerChain(javax.xml.namespace.QName portName) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Sets the handler chain for the specified port as a java.util.List. Each element in this list is required to be of the Java
+	 * type javax.xml.rpc.handler.HandlerInfo.
+	 * 
+	 * @param portName - Qualified name of the target service endpoint
+	 * @param chain - A List representing configuration for the handler chain
+	 * @throws JAXRPCException - If any error in the configuration of the handler chain
+	 * @throws java.lang.UnsupportedOperationException - If this set operation is not supported. This is done to avoid
+	 * any overriding of a pre-configured handler chain.
+	 * @throws java.lang.IllegalArgumentException  - If an invalid portName is specified
+	 */
+	void setHandlerChain(javax.xml.namespace.QName portName,
+			java.util.List chain) throws JAXRPCException, java.lang.UnsupportedOperationException,
+			java.lang.IllegalArgumentException;
+	
+	/**
+	 * Gets the handler chain for all ports in the service instance. The returned List is used to configure the handler chain.
+	 * @return java.util.List Handler chain
+	 */
+	java.util.List<HandlerInfo> getHandlerChain();
+	
+	/**
+	 * Sets the handler chain for all ports in the service instance.
+	 * @param chain - A List of handler configuration entries
+	 * @throws java.lang.UnsupportedOperationException - If this set operation is not supported. This is done to avoid
+	 * any overriding of a pre-configured handler chain.
+	 * @throws JAXRPCException - On an error in the configuration of the handler chain
+	 */
+	void setHandlerChain(java.util.List<HandlerInfo> chain) throws java.lang.UnsupportedOperationException, JAXRPCException;
+	
+	/**
+	 * Gets the handler chain for the specified protocol binding. The returned List is used to configure this specific handler chain
+	 * in this HandlerRegistry.
+	 * @param bindingId - A URI identifier of a binding.
+	 * @return java.util.List Handler chain
+	 * @throws java.lang.IllegalArgumentException - If an unknown bindingId is specified
+	 * @see javax.xml.rpc.soap.SOAPBinding#SOAP11HTTP_BINDING
+	 */
+	java.util.List<HandlerInfo> getHandlerChain(java.net.URI bindingId) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Sets the handler chain for the specified protocol binding as a java.util.List.
+	 * @param bindingId  - A URI identifier of a binding.
+	 * @param chain - A List of handler configuration entries
+	 * @throws JAXRPCException  - On an error in the configuration of the handler chain
+	 * @throws java.lang.UnsupportedOperationException - If this set operation is not supported. This is done to avoid
+	 * any overriding of a pre-configured handler chain.
+	 * @throws java.lang.IllegalArgumentException - If an unknown bindingId is specified
+	 * @see javax.xml.rpc.soap.SOAPBinding#SOAP11HTTP_BINDING
+	 */
+	void setHandlerChain(java.net.URI bindingId,
+			java.util.List<HandlerInfo> chain) throws JAXRPCException,
+			java.lang.UnsupportedOperationException, java.lang.IllegalArgumentException;
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/LogicalMessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/LogicalMessageContext.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/LogicalMessageContext.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/LogicalMessageContext.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,27 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler;
+
+/**
+ * public interface LogicalMessageContext
+ * extends <code>MessageContext</code>
+ * <p>
+ * The LogicalMessageContext interface extends MessageContext to provide access to a the contained message as a
+ * protocol neutral LogicalMessage
+ * @version 1.0
+ * @author shaas02
+ *
+ */
+public interface LogicalMessageContext extends MessageContext {
+	
+	/**
+	 * Gets the message from this message context
+	 * @return The contained message; returns null if no message is present in this message context
+	 */
+	LogicalMessage getMessage();
+	
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/MessageContext.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/MessageContext.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/MessageContext.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,110 @@
+/*
+ * Created on Jun 20, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler;
+
+/**
+ * The interface MessageContext abstracts the message context that is processed by a handler in the handle  method.
+ * <p>
+ * The MessageContext interface provides methods to manage a property set. MessageContext properties enable handlers in a
+ * handler chain to share processing related state.
+ * @version 1.0
+ * @author shaas02
+ * @see <code>Handler</code>
+ */
+public interface MessageContext {
+	
+	static class Scope {
+		
+	}
+	
+	/**
+	 * Standard property: message direction, true for outbound messages, false for inbound.
+	 * <p>
+	 * Type: boolean
+	 */
+	static final java.lang.String MESSAGE_OUTBOUND_PROPERTY;
+	
+	/**
+	 * Standard property: security configuration.
+	 * <p>
+	 * Type: javax.xml.rpc.security.SecurityConfiguration
+	 */
+	static final java.lang.String MESSAGE_SECURITY_CONFIGURATION;
+	
+	/**
+	 * Sets the scope of a property.
+	 * @param name - Name of the property associated with the MessageContext
+	 * @param scope - Desired scope of the property
+	 * @throws java.lang.IllegalArgumentException - if an illegal property name is specified
+	 */
+	void setPropertyScope(java.lang.String name,
+			 MessageContext.Scope scope) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Gets the scope of a property.
+	 * @param name - Name of the property
+	 * @return Scope of the property
+	 * @throws java.lang.IllegalArgumentException - if a non-existant property name is specified
+	 */
+	MessageContext.Scope getPropertyScope(java.lang.String name)throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Sets the name and value of a property associated with the MessageContext. If the MessageContext  contains a value of
+	 * the same property, the old value is replaced but the properties scope is unchanged. The scope of the property defaults to
+	 * HANDLER.
+	 * @param name - Name of the property associated with the MessageContext
+	 * @param value - Value of the property
+	 * @throws java.lang.IllegalArgumentException - If some aspect of the property prevents it from being stored in the context
+	 * @throws java.lang.UnsupportedOperationException - If this method is not supported.
+	 */
+	void setProperty(java.lang.String name,
+			java.lang.Object value) throws java.lang.IllegalArgumentException,
+			java.lang.UnsupportedOperationException;
+	
+	/**
+	 * Sets the name, value and scope of a property associated with the MessageContext. If the MessageContext  contains a
+	 * value of the same property, the old value is replaced.
+	 * @param name - Name of the property associated with the MessageContext
+	 * @param value - Value of the property
+	 * @param scope - Desired scope of the property
+	 * @throws java.lang.IllegalArgumentException - If some aspect of the property prevents it from being stored in the context
+	 * @throws java.lang.UnsupportedOperationException - If this method is not supported.
+	 */
+	void setProperty(java.lang.String name,
+			java.lang.Object value,
+			MessageContext.Scope scope) throws java.lang.IllegalArgumentException,
+			java.lang.UnsupportedOperationException;
+	
+	/**
+	 * Gets the value of a specific property from the MessageContext
+	 * @param name - Name of the property whose value is to be retrieved
+	 * @return Value of the property.
+	 * @throws java.lang.IllegalArgumentException - if an illegal property name is specified
+	 */
+	java.lang.Object getProperty(java.lang.String name) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Removes a property (name-value pair) from the MessageContext
+	 * @param name - Name of the property to be removed
+	 * @throws java.lang.IllegalArgumentException - if an illegal property name is specified
+	 */
+	void removeProperty(java.lang.String name) throws java.lang.IllegalArgumentException;
+	
+	/**
+	 * Returns true if the MessageContext contains a property with the specified name.
+	 * @param name  - Name of the property whose presense is to be tested
+	 * @return Returns true if the MessageContext contains the property; otherwise false
+	 */
+	boolean containsProperty(java.lang.String name);
+	
+	/**
+	 * Returns an Iterator view of the names of the properties in this MessageContext
+	 * @return Iterator for the property names
+	 */
+	java.util.Iterator getPropertyNames();
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/soap/SOAPMessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/soap/SOAPMessageContext.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/soap/SOAPMessageContext.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/handler/soap/SOAPMessageContext.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,66 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.handler.soap;
+
+import javax.xml.rpc.handler.MessageContext;
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * public interface SOAPMessageContext
+ * extends <code>MessageContext</code>
+ * <p>
+ * The interface javax.xml.rpc.handler.soap.SOAPMessageContext provides access to the SOAP message for either RPC
+ *  request or response. The javax.xml.soap.SOAPMessage specifies the standard Java API for the representation of a SOAP
+ * 1.1 message with attachments.
+ * @version 1.0
+ * @author shaas02
+ * @see SOAPMessage
+ */
+public interface SOAPMessageContext extends MessageContext {
+
+	/**
+	 * Gets the SOAPMessage from this message context. Modifications to the returned SOAPMessage change the message
+	 * in-place, there is no need to susequently call setMessage.
+	 * @return Returns the SOAPMessage; returns null if no SOAPMessage is present in this message context
+	 */
+	javax.xml.soap.SOAPMessage getMessage();
+	
+	/**
+	 * Sets the SOAPMessage in this message context
+	 * @param message - SOAP message
+	 * @throws JAXRPCException - If any error during the setting of the SOAPMessage in this message context
+	 * @throws java.lang.UnsupportedOperationException - If this operation is not supported
+	 * 
+	 */
+	void setMessage(javax.xml.soap.SOAPMessage message) throws JAXRPCException, java.lang.UnsupportedOperationException;
+	
+	/**
+	 * Gets headers that have a particular qualified name from the message in the message context. Note that a SOAP message
+	 * can contain multiple headers with the same qualified name.
+	 * @param header - The XML qualified name of the SOAP header(s).
+	 * @param context - The JAXBContext that should be used to unmarshall the header
+	 * @param allRoles - If true then returns headers for all SOAP roles, if false then only returns headers targetted at the
+	 * roles currently being played by this SOAP node, see getRoles.
+	 * @return An array of unmarshalled headers; returns an empty array if no message is present in this message context or no
+	 * headers match the supplied qualified name.
+	 * @throws JAXRPCException  - If an error occurs when using the supplied JAXBContext to unmarshall. The cause of the
+	 * JAXRPCException is the original JAXBException.
+	 */
+	java.lang.Object[] getHeaders(javax.xml.namespace.QName header,
+			javax.xml.bind.JAXBContext context,
+			boolean allRoles) throws JAXRPCException;
+	
+	/**
+	 * Gets the SOAP actor roles associated with an execution of the handler chain. Note that SOAP actor roles apply to the
+	 * SOAP node and are managed using SOAPBinding.setRoles and SOAPBinding.getRoles. Handler instances in the
+	 * handler chain use this information about the SOAP actor roles to process the SOAP header blocks. Note that the SOAP
+	 * actor roles are invariant during the processing of SOAP message through the handler chain.
+	 * @return Array of URIs for SOAP actor roles
+	 * @see  <code>SOAPBinding.setRoles(java.util.Set)</code> , <code>SOAPBinding.getRoles()</code>
+	 */
+	java.lang.String[] getRoles();
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigDecimalHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigDecimalHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigDecimalHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigDecimalHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,31 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ */
+public class BigDecimalHolder implements Holder {
+	
+	/**
+	 * Comment for <code>value</code>
+	 */
+	public java.math.BigDecimal value;
+	
+	/**
+	 * Empty Constructor
+	 */
+	public BigDecimalHolder() {}
+	
+	/**
+	 * Constructor
+	 * Sets the value of <code>value</code> property to the given input parameter value
+	 * @param myBigDecimal
+	 */
+	public BigDecimalHolder(java.math.BigDecimal myBigDecimal) {}
+	
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigIntegerHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigIntegerHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigIntegerHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BigIntegerHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class BigIntegerHolder {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class BooleanHolder implements Holder {
+	
+	public boolean value;
+	
+	public BooleanHolder() {}
+	
+	public BooleanHolder(boolean myboolean) {}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanWrapperHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanWrapperHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanWrapperHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/BooleanWrapperHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class BooleanWrapperHolder implements Holder{
+	
+	public java.lang.Boolean value;
+	
+	public BooleanWrapperHolder(){}
+	
+	public BooleanWrapperHolder(java.lang.Boolean myboolean){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteArrayHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteArrayHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteArrayHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteArrayHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class ByteArrayHolder implements Holder {
+	
+	public byte[] value;
+	
+	public ByteArrayHolder() {}
+	
+	public ByteArrayHolder(byte[] mybyteArray) {}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class ByteHolder implements Holder {
+	
+	public byte value;
+	
+	public ByteHolder(){}
+	
+	public ByteHolder(byte mybyte){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteWrapperHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteWrapperHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteWrapperHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ByteWrapperHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class ByteWrapperHolder {
+	
+	public java.lang.Byte value;
+	
+	public ByteWrapperHolder() {}
+	
+	public ByteWrapperHolder(java.lang.Byte mybyte) {}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/CalendarHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/CalendarHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/CalendarHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/CalendarHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class CalendarHolder {
+	
+	public java.util.Calendar value;
+	
+	public CalendarHolder(){}
+	
+	public CalendarHolder(java.util.Calendar myCalendar){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class DoubleHolder implements Holder {
+	
+	public double value;
+	
+	public DoubleHolder(){}
+	
+	public DoubleHolder(double mydouble){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleWrapperHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleWrapperHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleWrapperHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/DoubleWrapperHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class DoubleWrapperHolder implements Holder {
+	
+	public java.lang.Double value;
+	
+	public DoubleWrapperHolder(){}
+	
+	public DoubleWrapperHolder(java.lang.Double mydouble){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class FloatHolder {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatWrapperHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatWrapperHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatWrapperHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/FloatWrapperHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class FloatWrapperHolder {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/GenericHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/GenericHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/GenericHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/GenericHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,24 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+//This involves 1.5 new feature 'generics', needs a revisit
+public final class GenericHolder<T> implements Holder {
+	
+	public T value;
+	
+	public GenericHolder() {}
+	
+	public GenericHolder(T v){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/Holder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/Holder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/Holder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/Holder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,18 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * Interface Holder
+ * The java.xml.rpc.holders.Holder interface represents the base interface for both standard and generated Holder classes. A generated Holder class is required to implement this Holder interface. 
+ * 
+ * @version 1.0
+ * @author sunja07
+ */
+public interface Holder {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class IntHolder implements Holder {
+	
+	public int value;
+	
+	public IntHolder(){}
+	
+	public IntHolder(int myint) {}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntegerWrapperHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntegerWrapperHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntegerWrapperHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/IntegerWrapperHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class IntegerWrapperHolder implements Holder {
+	
+	public java.lang.Integer value;
+	
+	public IntegerWrapperHolder(){}
+	
+	public IntegerWrapperHolder(java.lang.Integer myint) {}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class LongHolder implements Holder {
+	
+	public long value;
+	
+	public LongHolder(){}
+	
+	public LongHolder(long mylong){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongWrapperHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongWrapperHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongWrapperHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/LongWrapperHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class LongWrapperHolder {
+	
+	public java.lang.Long value;
+	
+	public LongWrapperHolder(){}
+	
+	public LongWrapperHolder(java.lang.Long mylong) {}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ObjectHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ObjectHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ObjectHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ObjectHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class ObjectHolder {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/QNameHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/QNameHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/QNameHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/QNameHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class QNameHolder {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class ShortHolder implements Holder {
+	
+	public short value;
+	
+	public ShortHolder(){}
+	
+	public ShortHolder(short myshort){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortWrapperHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortWrapperHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortWrapperHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/ShortWrapperHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,17 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class ShortWrapperHolder {
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/StringHolder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/StringHolder.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/StringHolder.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/holders/StringHolder.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,23 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.holders;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public final class StringHolder implements Holder {
+	
+	public java.lang.String value;
+	
+	public StringHolder(){}
+	
+	public StringHolder(java.lang.String myString){}
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/security/SecurityConfiguration.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/security/SecurityConfiguration.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/security/SecurityConfiguration.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/security/SecurityConfiguration.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,121 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.security;
+
+/**
+ * Interface SecurityConfiguration
+ * The interface SecurityConfiguration abstracts the message security configuration.
+ * 
+ * @version 1.0
+ * @author sunja07
+ */
+public interface SecurityConfiguration {
+	
+	//TODO: This involves generics, needs a thorough revisit.
+	/**
+	 * Abstract security features. 
+	 * 	Integrity 
+	 * 		Provide assurance that the data received by a recipient is the same as the data sent by the originator 
+	 * 	Confidentiality
+	 * 		Protect data from being read by anyone except the intended recipient 
+	 * 	Authentication 
+	 * 		Establish or constrain the identity of the source and/or recipient of a message 
+	 */
+	public static enum SecurityFeature extends java.lang.Enum <SecurityConfiguration.SecurityFeature> {
+		
+		public static final SecurityConfiguration.SecurityFeature CONFIDENTIALITY=null;
+		
+		public static final SecurityConfiguration.SecurityFeature INTEGRITY = null;
+		
+		public static final SecurityConfiguration.SecurityFeature AUTHENTICATION = null;
+		
+		/**
+		 * Method values
+		 * Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
+		 * <code>
+		 * 		for(SecurityConfiguration.SecurityFeature c : SecurityConfiguration.SecurityFeature.values())
+		 * 			System.out.println(c);
+		 * </code>
+		 * @return an array containing the constants of this enum type, in the order they're declared
+		 */
+		public static final SecurityConfiguration.SecurityFeature[] values() {
+			
+		}
+		
+		/**
+		 * Method valueOf
+		 * Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
+		 * @param name the name of the enum constant to be returned.
+		 * @return the enum constant with the specified name 
+		 * @throws java.lang.IllegalArgumentException if this enum type has no constant with the specified name
+		 */
+		public static SecurityConfiguration.SecurityFeature valueOf(java.lang.String name) throws java.lang.IllegalArgumentException {
+			
+		}
+	}
+	
+	/**
+	 * Method setOutboundConfigId
+	 * @param configId
+	 */
+	void setOutboundConfigId(java.lang.String configId);
+	
+	/**
+	 * Method getOutboundConfigId
+	 * @return
+	 */
+	java.lang.String getOutboundConfigId();
+	
+	/**
+	 * Method setInboundConfigId
+	 * @param configId
+	 */
+	void setInboundConfigId(java.lang.String configId);
+	
+	/**
+	 * Method getInboundConfigId
+	 * @return
+	 */
+	java.lang.String getInboundConfigId();
+	
+	/**
+	 * Method setInboundFeatures
+	 * 
+	 */
+	void setInboundFeatures(SecurityConfiguration.SecurityFeature... features);
+	
+	/**
+	 * Method getInbound
+	 * @return
+	 */
+	SecurityConfiguration.SecurityFeature[] getInbound();
+	
+	/**
+	 * Method setOutboundFeatures
+	 * 
+	 */
+	void setOutboundFeatures(SecurityConfiguration.SecurityFeature... features);
+	
+	/**
+	 * Method getOutbound
+	 * @return
+	 */
+	SecurityConfiguration.SecurityFeature[] getOutbound();
+	
+	/**
+	 * Method setCallbackHandler
+	 * @param callbackHandler
+	 */
+	void setCallbackHandler(javax.security.auth.callback.CallbackHandler callbackHandler);
+	
+	/**
+	 * Method getCallbackHandler 
+	 * @return
+	 */
+	javax.security.auth.callback.CallbackHandler getCallbackHandler();
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServiceLifecycle.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServiceLifecycle.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServiceLifecycle.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServiceLifecycle.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,48 @@
+/*
+ * Created on Jun 17, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.server;
+
+import javax.xml.rpc.ServiceException;
+
+/**
+ * public interface ServiceLifecycle
+ * 
+ * The javax.xml.rpc.server.ServiceLifecycle defines a lifecycle interface for a JAX-RPC service endpoint. If the
+ * service endpoint class implements the ServiceLifeycle  interface, the servlet container based JAX-RPC runtime system is
+ * required to manage the lifecycle of the corresponding service endpoint objects.
+ * 
+ * @version 1.0
+ * 
+ * @author shaas02
+ *
+ */
+public interface ServiceLifecycle {
+	
+	/**
+	 * Used for initialization of a service endpoint. After a service endpoint instance (an instance of a service endpoint class) is
+	 * instantiated, the JAX-RPC runtime system invokes the init method. The service endpoint class uses the init method to
+	 * initialize its configuration and setup access to any external resources. The context parameter in the init method enables
+	 * the endpoint instance to access the endpoint context provided by the underlying JAX-RPC runtime system.
+	 * 
+	 * The init method implementation should typecast the context parameter to an appropriate Java type. For service endpoints
+	 * deployed on a servlet container based JAX-RPC runtime system, the context parameter is of the Java type
+	 * javax.xml.rpc.server.ServletEndpointContext. The ServletEndpointContext provides an endpoint context
+	 *  maintained by the underlying servlet container based JAX-RPC runtime system
+	 * 
+	 * @param context - Endpoint context for a JAX-RPC service endpoint
+	 * @throws javax.xml.rpc.ServiceException
+	 */
+	void init(java.lang.Object context)
+		throws ServiceException;
+	
+	/**
+	 * JAX-RPC runtime system ends the lifecycle of a service endpoint instance by invoking the destroy method. The service
+	 * endpoint releases its resourcesin the implementation of the destroy method.
+	 */
+	void destroy();
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServletEndpointContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServletEndpointContext.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServletEndpointContext.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/server/ServletEndpointContext.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,79 @@
+/*
+ * Created on Jun 17, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.server;
+
+import javax.xml.rpc.handler.MessageContext;
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * public interface ServletEndpointContext
+ * 
+ * The ServletEndpointContext provides an endpoint context maintained by the underlying servlet container based JAX-RPC
+ * runtime system. For service endpoints deployed on a servlet container based JAX-RPC runtime system, the context parameter in
+ * the ServiceLifecycle.init method is required to be of the Java type javax.xml.rpc.server.ServletEndpointContext.
+ * 
+ * A servlet container based JAX-RPC runtime system implements the ServletEndpointContext interface. The JAX-RPC
+ * runtime system is required to provide appropriate session, message context, servlet context and user principal information per
+ * method invocation on the endpoint class.
+ * 
+ * @version 1.0
+ * 
+ * @author shaas02
+ *
+ */
+public interface ServletEndpointContext {
+	
+	/**
+	 * The method getMessageContext returns the MessageContext targeted for this endpoint instance. This enables the
+	 * service endpoint instance to acccess the MessageContext propagated by request HandlerChain (and its contained
+	 * Handler instances) to the target endpoint instance and to share any SOAP message processing related context. The
+	 * endpoint instance can access and manipulate the MessageContext and share the SOAP message processing related
+	 * context with the response HandlerChain.
+	 * 
+	 * @return MessageContext; If there is no associated MessageContext, this method returns null.
+	 * @throws java.lang.IllegalStateException - if this method is invoked outside a remote method implementation by a service endpoint instance.
+	 */
+	MessageContext  getMessageContext() throws java.lang.IllegalStateException;
+
+	/**
+	 * Returns a java.security.Principal instance that contains the name of the authenticated user for the current method
+	 * invocation on the endpoint instance. This method returns null if there is no associated principal yet. The underlying
+	 * JAX-RPC runtime system takes the responsibility of providing the appropriate authenticated principal for a remote method
+	 * nvocation on the service endpoint instance.
+	 * 
+	 * @return A java.security.Principal for the authenticated principal associated with the current invocation on the servlet  endpoint instance; Returns null if there no authenticated user associated with a method invocation.
+	 */
+	java.security.Principal getUserPrincipal();
+	
+	/**
+	 * The getHttpSession method returns the current HTTP session (as a javax.servlet.http.HTTPSession). When
+	 * invoked by the service endpoint within a remote method implementation, the getHttpSession returns the HTTP session
+	 * associated currently with this method invocation. This method returns null if there is no HTTP session currently active
+	 * and associated with this service endpoint. An endpoint class should not rely on an active HTTP session being always there;
+	 * the underlying JAX-RPC runtime system is responsible for managing whether or not there is an active HTTP session.
+	 * 
+	 * @return The HTTP session associated with the current invocation or null if there is no active session.
+	 * @throws JAXRPCException - If this method invoked by any non-HTTP bound endpoint
+	 */
+	javax.servlet.http.HttpSession getHttpSession() throws JAXRPCException;
+	
+	/**
+	 * The method getServletContext returns the ServletContext associated with the web application that contain this
+	 * endpoint. According to the Servlet specification, There is one context per web application (installed as a WAR) per JVM .
+	 * A servlet based service endpoint is deployed as part of a web application.
+	 * 
+	 * @return ServletContext
+	 */
+	javax.servlet.ServletContext getServletContext();
+	
+	/**
+	 * @param role - a String specifying the name of the role
+	 * @return a boolean indicating whether the authenticated user associated with the current method invocation belongs to a
+	 * given role; false if the user has not been authenticated
+	 */
+	boolean isUserInRole(java.lang.String role);
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPBinding.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,27 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.soap;
+
+import javax.xml.rpc.Binding;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public interface SOAPBinding extends Binding {
+	
+	static final java.lang.String SOAP11HTTP_BINDING=null;
+	
+	static final java.lang.String SOAP12HTTP_BINDING=null;
+	
+	java.util.Set<java.net.URI> getRoles();
+	
+	void setRoles(java.util.Set<java.net.URI> roles);
+
+}

Added: webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPFaultException.java?rev=191659&view=auto
==============================================================================
--- webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPFaultException.java (added)
+++ webservices/axis/trunk/archive/java/scratch/ashu_jaya_venkat/JAX-WS2/javax/xml/rpc/soap/SOAPFaultException.java Tue Jun 21 07:12:31 2005
@@ -0,0 +1,41 @@
+/*
+ * Created on Jun 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package javax.xml.rpc.soap;
+
+import javax.xml.rpc.ProtocolException;
+import javax.xml.soap.Detail;
+
+/**
+ * @author sunja07
+ *
+ * TODO To change the template for this generated type comment go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+public class SOAPFaultException extends ProtocolException {
+	
+	public SOAPFaultException(javax.xml.namespace.QName faultcode,
+            java.lang.String faultstring,
+            java.lang.String faultactor,
+            javax.xml.soap.Detail faultdetail){}
+	
+	public javax.xml.namespace.QName getFaultCode() {
+		return null;
+	}
+	
+	public java.lang.String getFaultString() {
+		return null;
+	}
+	
+	public java.lang.String getFaultActor() {
+		return null;
+	}
+	
+	public Detail getDetail() {
+		return null;
+	}
+
+}



Mime
View raw message