gr.uoa.di.madgik.commons.channel.proxy
Class ChannelLocatorFactory

java.lang.Object
  extended by gr.uoa.di.madgik.commons.channel.proxy.ChannelLocatorFactory

public class ChannelLocatorFactory
extends java.lang.Object

A factory for creating ChannelLocator objects.


Constructor Summary
ChannelLocatorFactory()
           
 
Method Summary
static IChannelLocator GetLocator(java.net.URI locator)
          Creates instances of IChannelLocator objects based on the provided serialization
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelLocatorFactory

public ChannelLocatorFactory()
Method Detail

GetLocator

public static IChannelLocator GetLocator(java.net.URI locator)
                                  throws java.lang.Exception
Creates instances of IChannelLocator objects based on the provided serialization

Parameters:
XMLserialization - the xml serialization as created by IChannelLocator#ToXML()
Returns:
the created channel locator
Throws:
java.lang.Exception - The instantiation could not be performed