uk.ac.soton.ecs.grimoires.proxy
Class GrimoiresProxyFactory

java.lang.Object
  extended byuk.ac.soton.ecs.grimoires.proxy.GrimoiresProxyFactory
All Implemented Interfaces:
GrimoiresConstants
Direct Known Subclasses:
GrimoiresBusinessLogicProxyFactory, GrimoiresWebServiceProxyFactory

public abstract class GrimoiresProxyFactory
extends Object
implements GrimoiresConstants


Field Summary
protected  org.apache.log4j.Logger logger
           
 
Fields inherited from interface uk.ac.soton.ecs.grimoires.proxy.GrimoiresConstants
DEFAULT_GRIMOIRES_LOCATION, DEFAULT_UDDI_AUTHINFO, GRIMOIRES_PROXY_ABNORMAL_EXIT_CODE, METADATA_INQUIRE_PATH, METADATA_PUBLISH_PATH, RDF_PATH, UDDI_GENERIC, UDDI_INQUIRE_PATH, UDDI_PUBLISH_PATH, UDDI_SUCCESS_CODE, UDDI_WILDCARD, WSDL_PATH, WSDL_SPEC_KEYED_REFERENCE
 
Constructor Summary
GrimoiresProxyFactory()
           
 
Method Summary
protected  void abort()
          Abort the application when Proxy can not be created.
abstract  GrimoiresProxy createProxy(String grimoiresLocation)
           
protected  String getMetadataInquireEndpoint()
           
protected  String getMetadataPublishEndpoint()
           
protected  String getRDFEndpoint()
           
protected  String getUDDIInquireEndpoint()
           
protected  String getUDDIPublishEndpoint()
           
protected  String getWSDLEndpoint()
           
protected  void processGrimoiresLocation(String grimoiresLocation)
           
protected  void verifyGrimoiresService(GrimoiresProxy p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.apache.log4j.Logger logger
Constructor Detail

GrimoiresProxyFactory

public GrimoiresProxyFactory()
Method Detail

createProxy

public abstract GrimoiresProxy createProxy(String grimoiresLocation)
Parameters:
grimoiresLocation - Grimoires location in the form like "http://localhost:8080/grimoires/services/". Can be null in WS then the default value is used. Can be null in BL.
Returns:

abort

protected void abort()
Abort the application when Proxy can not be created.


processGrimoiresLocation

protected void processGrimoiresLocation(String grimoiresLocation)

getUDDIPublishEndpoint

protected String getUDDIPublishEndpoint()

getUDDIInquireEndpoint

protected String getUDDIInquireEndpoint()

getMetadataPublishEndpoint

protected String getMetadataPublishEndpoint()

getMetadataInquireEndpoint

protected String getMetadataInquireEndpoint()

getWSDLEndpoint

protected String getWSDLEndpoint()

getRDFEndpoint

protected String getRDFEndpoint()

verifyGrimoiresService

protected void verifyGrimoiresService(GrimoiresProxy p)