m.c.m.proxyma.context
Class ProxyFolderFactory

java.lang.Object
  extended by m.c.m.proxyma.context.ProxyFolderFactory

public class ProxyFolderFactory
extends java.lang.Object

This class is a "FactoryMethod" for the ProxyFolderBean Class.

NOTE: this software is released under GPL License. See the LICENSE of this distribution for more informations.

Version:
$Id: ProxyFolderFactory.java 164 2010-06-29 10:59:58Z marcolinuz $
Author:
Marco Casavecchia Morganti (marcolinuz) [marcolinuz-at-gmail.com];

Constructor Summary
ProxyFolderFactory()
           
 
Method Summary
 ProxyFolderBean createNewProxyFolder(java.lang.String FolderName, java.lang.String destination, ProxymaContext context)
          Builds a new ProxyFolder to the specified destination setting it up and ready to be attached to a context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyFolderFactory

public ProxyFolderFactory()
Method Detail

createNewProxyFolder

public ProxyFolderBean createNewProxyFolder(java.lang.String FolderName,
                                            java.lang.String destination,
                                            ProxymaContext context)
                                     throws org.apache.commons.lang.NullArgumentException,
                                            java.lang.IllegalArgumentException,
                                            java.io.UnsupportedEncodingException
Builds a new ProxyFolder to the specified destination setting it up and ready to be attached to a context.

Parameters:
FolderName - the path (and name) of the proxy folder.
destination - the destination URI to masquerade
context - the proxyma context where to take default settings.
Throws:
org.apache.commons.lang.NullArgumentException - if some parameter is null
java.lang.IllegalArgumentException - if the folder name or the destination parameter are invalid or malformed
java.io.UnsupportedEncodingException - if the default encoding charset specified on the configuration is not supported.


Copyright © 2010. All Rights Reserved.