org.alfresco.webservice.util
Class WebServiceFactory

java.lang.Object
  extended by org.alfresco.webservice.util.WebServiceFactory

public final class WebServiceFactory
extends java.lang.Object


Constructor Summary
WebServiceFactory()
           
 
Method Summary
static org.alfresco.webservice.accesscontrol.AccessControlServiceSoapBindingStub getAccessControlService()
           
static org.alfresco.webservice.accesscontrol.AccessControlServiceSoapBindingStub getAccessControlService(java.lang.String enpointAddress)
          Get the access control service
static org.alfresco.webservice.action.ActionServiceSoapBindingStub getActionService()
           
static org.alfresco.webservice.action.ActionServiceSoapBindingStub getActionService(java.lang.String endpointAddress)
          Get the action service
static org.alfresco.webservice.administration.AdministrationServiceSoapBindingStub getAdministrationService()
           
static org.alfresco.webservice.administration.AdministrationServiceSoapBindingStub getAdministrationService(java.lang.String endpointAddress)
          Get the administration service
static org.alfresco.webservice.authentication.AuthenticationServiceSoapBindingStub getAuthenticationService()
          Get the authentication service
static org.alfresco.webservice.authoring.AuthoringServiceSoapBindingStub getAuthoringService()
           
static org.alfresco.webservice.authoring.AuthoringServiceSoapBindingStub getAuthoringService(java.lang.String endpointAddress)
          Get the authoring service
static org.alfresco.webservice.classification.ClassificationServiceSoapBindingStub getClassificationService()
           
static org.alfresco.webservice.classification.ClassificationServiceSoapBindingStub getClassificationService(java.lang.String endpointAddress)
          Get the classification service
static org.alfresco.webservice.content.ContentServiceSoapBindingStub getContentService()
           
static org.alfresco.webservice.content.ContentServiceSoapBindingStub getContentService(java.lang.String endpointAddress)
          Get the content service
static org.alfresco.webservice.dictionary.DictionaryServiceSoapBindingStub getDictionaryService()
           
static org.alfresco.webservice.dictionary.DictionaryServiceSoapBindingStub getDictionaryService(java.lang.String endpointAddress)
          Get the dictionary service
static java.lang.String getEndpointAddress()
          Gets the configured end-point address
static java.lang.String getEndpointWebapp()
          Gets the configured end-point webapp name
static java.lang.String getHost()
          Get the current endpoints host
static int getPort()
          Get the current endpoints port
static org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub getRepositoryService()
           
static org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub getRepositoryService(java.lang.String endpointAddress)
          Get the repository service
static void setEndpointAddress(java.lang.String endPointAddress)
          Sets the endpoint address manually, overwrites the current value
static void setTimeoutMilliseconds(int timeoutMilliseconds)
          Sets the timeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceFactory

public WebServiceFactory()
Method Detail

setEndpointAddress

public static void setEndpointAddress(java.lang.String endPointAddress)
Sets the endpoint address manually, overwrites the current value

Parameters:
endPointAddress - the end point address

setTimeoutMilliseconds

public static void setTimeoutMilliseconds(int timeoutMilliseconds)
Sets the timeout

Parameters:
timeoutMilliseconds - number of milliseconds to wait before timing out a web service call

getHost

public static java.lang.String getHost()
Get the current endpoints host

Returns:
the current endpoint host name

getPort

public static int getPort()
Get the current endpoints port

Returns:
the current endpoint port number

getAuthenticationService

public static org.alfresco.webservice.authentication.AuthenticationServiceSoapBindingStub getAuthenticationService()
Get the authentication service

Returns:

getRepositoryService

public static org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub getRepositoryService()

getRepositoryService

public static org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub getRepositoryService(java.lang.String endpointAddress)
Get the repository service

Returns:

getAuthoringService

public static org.alfresco.webservice.authoring.AuthoringServiceSoapBindingStub getAuthoringService()

getAuthoringService

public static org.alfresco.webservice.authoring.AuthoringServiceSoapBindingStub getAuthoringService(java.lang.String endpointAddress)
Get the authoring service

Returns:

getClassificationService

public static org.alfresco.webservice.classification.ClassificationServiceSoapBindingStub getClassificationService()

getClassificationService

public static org.alfresco.webservice.classification.ClassificationServiceSoapBindingStub getClassificationService(java.lang.String endpointAddress)
Get the classification service

Returns:

getActionService

public static org.alfresco.webservice.action.ActionServiceSoapBindingStub getActionService()

getActionService

public static org.alfresco.webservice.action.ActionServiceSoapBindingStub getActionService(java.lang.String endpointAddress)
Get the action service

Returns:

getContentService

public static org.alfresco.webservice.content.ContentServiceSoapBindingStub getContentService()

getContentService

public static org.alfresco.webservice.content.ContentServiceSoapBindingStub getContentService(java.lang.String endpointAddress)
Get the content service

Returns:
the content service

getAccessControlService

public static org.alfresco.webservice.accesscontrol.AccessControlServiceSoapBindingStub getAccessControlService()

getAccessControlService

public static org.alfresco.webservice.accesscontrol.AccessControlServiceSoapBindingStub getAccessControlService(java.lang.String enpointAddress)
Get the access control service

Returns:
the access control service

getAdministrationService

public static org.alfresco.webservice.administration.AdministrationServiceSoapBindingStub getAdministrationService()

getAdministrationService

public static org.alfresco.webservice.administration.AdministrationServiceSoapBindingStub getAdministrationService(java.lang.String endpointAddress)
Get the administration service

Returns:
the administration service

getDictionaryService

public static org.alfresco.webservice.dictionary.DictionaryServiceSoapBindingStub getDictionaryService()

getDictionaryService

public static org.alfresco.webservice.dictionary.DictionaryServiceSoapBindingStub getDictionaryService(java.lang.String endpointAddress)
Get the dictionary service

Returns:
the dictionary service

getEndpointAddress

public static java.lang.String getEndpointAddress()
Gets the configured end-point address


getEndpointWebapp

public static java.lang.String getEndpointWebapp()
Gets the configured end-point webapp name



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.