org.apache.stratos.register.ui.clients
Class TenantSelfRegistrationClient

java.lang.Object
  extended by org.apache.stratos.register.ui.clients.TenantSelfRegistrationClient

public class TenantSelfRegistrationClient
extends Object

Tenant Self Registration Client class


Constructor Summary
TenantSelfRegistrationClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session)
           
TenantSelfRegistrationClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configContext)
           
 
Method Summary
 boolean checkDomainAvailability(String domainName)
           
 org.apache.stratos.tenant.register.stub.beans.xsd.CaptchaInfoBean generateRandomCaptcha()
           
 String registerTenant(org.apache.stratos.tenant.register.stub.beans.xsd.TenantInfoBean tenantInfoBean, org.apache.stratos.tenant.register.stub.beans.xsd.CaptchaInfoBean captchaInfoBean)
           
 String validateOrSuggestDomain(String domainName, String successKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TenantSelfRegistrationClient

public TenantSelfRegistrationClient(String cookie,
                                    String backendServerURL,
                                    org.apache.axis2.context.ConfigurationContext configContext)
                             throws org.wso2.carbon.registry.core.exceptions.RegistryException
Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException

TenantSelfRegistrationClient

public TenantSelfRegistrationClient(javax.servlet.ServletConfig config,
                                    javax.servlet.http.HttpSession session)
                             throws org.wso2.carbon.registry.core.exceptions.RegistryException
Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
Method Detail

registerTenant

public String registerTenant(org.apache.stratos.tenant.register.stub.beans.xsd.TenantInfoBean tenantInfoBean,
                             org.apache.stratos.tenant.register.stub.beans.xsd.CaptchaInfoBean captchaInfoBean)
                      throws Exception
Throws:
Exception

checkDomainAvailability

public boolean checkDomainAvailability(String domainName)
                                throws Exception
Throws:
Exception

validateOrSuggestDomain

public String validateOrSuggestDomain(String domainName,
                                      String successKey)
                               throws Exception
Throws:
Exception

generateRandomCaptcha

public org.apache.stratos.tenant.register.stub.beans.xsd.CaptchaInfoBean generateRandomCaptcha()
                                                                                        throws Exception
Throws:
Exception


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.