org.ow2.petals.tools.ws
Class WebServiceManagerImpl

java.lang.Object
  extended by org.ow2.petals.tools.ws.WebServiceManagerImpl
All Implemented Interfaces:
WebServiceManager

public class WebServiceManagerImpl
extends java.lang.Object
implements WebServiceManager

Author:
chamerling - eBM WebSourcing

Field Summary
protected  ConfigurationService configurationService
           
protected  org.ow2.petals.util.LoggingUtil log
          Logger wrapper.
protected  java.util.Map<java.lang.String,org.apache.cxf.endpoint.Server> servers
           
static java.lang.String WEBSERVICE_FRACTAL_PREFIX
           
protected  java.util.Map<java.lang.String,java.lang.Object> webServices
           
 
Fields inherited from interface org.ow2.petals.tools.ws.WebServiceManager
DEFAULT_PORT, DEFAULT_PREFIX
 
Constructor Summary
WebServiceManagerImpl()
           
 
Method Summary
protected  boolean exposeAsWebService(java.lang.Object o)
           
 void exposeServices()
          
 java.util.List<java.lang.String> getServiceNames()
           
 java.util.List<java.lang.String> getServicesURL()
          
protected  java.lang.String getURL(java.lang.String serviceName)
           
 void removeService(java.lang.String name)
          
protected  void start()
           
protected  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEBSERVICE_FRACTAL_PREFIX

public static final java.lang.String WEBSERVICE_FRACTAL_PREFIX
See Also:
Constant Field Values

log

protected org.ow2.petals.util.LoggingUtil log
Logger wrapper.


configurationService

protected ConfigurationService configurationService

webServices

protected java.util.Map<java.lang.String,java.lang.Object> webServices

servers

protected java.util.Map<java.lang.String,org.apache.cxf.endpoint.Server> servers
Constructor Detail

WebServiceManagerImpl

public WebServiceManagerImpl()
Method Detail

start

protected void start()
              throws RoutingException
Throws:
RoutingException

stop

protected void stop()

exposeServices

public void exposeServices()

Specified by:
exposeServices in interface WebServiceManager

exposeAsWebService

protected boolean exposeAsWebService(java.lang.Object o)

getURL

protected java.lang.String getURL(java.lang.String serviceName)

getServicesURL

public java.util.List<java.lang.String> getServicesURL()

Specified by:
getServicesURL in interface WebServiceManager

getServiceNames

public java.util.List<java.lang.String> getServiceNames()
Specified by:
getServiceNames in interface WebServiceManager

removeService

public void removeService(java.lang.String name)
                   throws WebServiceException

Specified by:
removeService in interface WebServiceManager
Throws:
WebServiceException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.