es.caib.ibkey.alfresco.ws
Class WebServiceFactory

java.lang.Object
  extended by es.caib.ibkey.alfresco.ws.WebServiceFactory

public final class WebServiceFactory
extends java.lang.Object

Author:
Roy Wetherall Modificat per Pere Joseph

Nested Class Summary
static class WebServiceFactory.WebServiceFactoryConfig
          configura propietats de webservice
 
Constructor Summary
WebServiceFactory()
           
 
Method Summary
static ActionServiceSoapBindingStub getActionService()
          Get the repository service from system properties
static ActionServiceSoapBindingStub getActionService(WebServiceFactory.WebServiceFactoryConfig config)
          Get the repository service
static AuthenticationServiceSoapBindingStub getAuthenticationService()
          Get the authentication service from system properties
static AuthenticationServiceSoapBindingStub getAuthenticationService(WebServiceFactory.WebServiceFactoryConfig config)
          Get the authentication service
static ContentServiceSoapBindingStub getContentService()
          Get the content service from system properties
static ContentServiceSoapBindingStub getContentService(WebServiceFactory.WebServiceFactoryConfig config)
          Get the content service
static java.lang.String getEndpointAddress()
          Gets the configured end-point address
static RepositoryServiceSoapBindingStub getRepositoryService()
          Get the repository service from system properties
static RepositoryServiceSoapBindingStub getRepositoryService(WebServiceFactory.WebServiceFactoryConfig config)
          Get the repository service
 
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

getAuthenticationService

public static AuthenticationServiceSoapBindingStub getAuthenticationService()
                                                                     throws InternalErrorException
Get the authentication service from system properties

Returns:
Throws:
InternalErrorException

getAuthenticationService

public static AuthenticationServiceSoapBindingStub getAuthenticationService(WebServiceFactory.WebServiceFactoryConfig config)
                                                                     throws InternalErrorException
Get the authentication service

Returns:
Throws:
InternalErrorException

getRepositoryService

public static RepositoryServiceSoapBindingStub getRepositoryService()
                                                             throws InternalErrorException
Get the repository service from system properties

Returns:
Throws:
InternalErrorException

getRepositoryService

public static RepositoryServiceSoapBindingStub getRepositoryService(WebServiceFactory.WebServiceFactoryConfig config)
                                                             throws InternalErrorException
Get the repository service

Returns:
Throws:
InternalErrorException

getContentService

public static ContentServiceSoapBindingStub getContentService()
                                                       throws InternalErrorException
Get the content service from system properties

Returns:
Throws:
InternalErrorException

getContentService

public static ContentServiceSoapBindingStub getContentService(WebServiceFactory.WebServiceFactoryConfig config)
                                                       throws InternalErrorException
Get the content service

Returns:
Throws:
InternalErrorException

getActionService

public static ActionServiceSoapBindingStub getActionService()
                                                     throws InternalErrorException
Get the repository service from system properties

Returns:
Throws:
InternalErrorException

getActionService

public static ActionServiceSoapBindingStub getActionService(WebServiceFactory.WebServiceFactoryConfig config)
                                                     throws InternalErrorException
Get the repository service

Returns:
Throws:
InternalErrorException

getEndpointAddress

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



Copyright © 2012 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.