weborb.protocols
Class ProtocolRegistry

java.lang.Object
  extended by weborb.protocols.ProtocolRegistry

public class ProtocolRegistry
extends java.lang.Object

ProtocolRegistry

Author:
Midnight Coders, LLC

Constructor Summary
ProtocolRegistry()
           
 
Method Summary
static void addMessageFactory(IMessageFactory messageFactory)
          Register message factory
static Message buildMessage(javax.servlet.http.HttpServletRequest request)
          Parse request and create Message object representing the request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolRegistry

public ProtocolRegistry()
Method Detail

addMessageFactory

public static void addMessageFactory(IMessageFactory messageFactory)
Register message factory

Parameters:
messageFactory -

buildMessage

public static Message buildMessage(javax.servlet.http.HttpServletRequest request)
                            throws UnknownRequestFormatException
Parse request and create Message object representing the request. Method implementation iterates over all registered message factories until one signals that it can parse the request

Parameters:
request -
Returns:
Throws:
UnknownRequestFormatException


Discuss WebORB

Copyright 2003-2008 Midnight Coders, Inc. All Rights Reserved.