org.gvsig.tools.service
Interface Manager

All Known Implementing Classes:
AbstractManager, AbstractMultiServiceImplManager

public interface Manager

Creates parameters for services and services themselves.

Author:
2009- César Ordiñana - gvSIG team

Method Summary
 DynObject createServiceParameters(String serviceName)
          Creates a new object to contain service parameters values.
 Service getService(DynObject parameters)
          Creates a new Service based on the given parameters.
 

Method Detail

createServiceParameters

DynObject createServiceParameters(String serviceName)
                                  throws ServiceException
Creates a new object to contain service parameters values.

Parameters:
serviceName - the name of the service whose parameters have to be created
Returns:
an empty parameters container
Throws:
ServiceException - if there is not any service registered with the given name

getService

Service getService(DynObject parameters)
                   throws ServiceException
Creates a new Service based on the given parameters.

Parameters:
parameters - of the Service to create
Returns:
the new created Service
Throws:
ServiceException - if there is an error creating the Service, or the parameters are not valid


Copyright © 2004-2011 gvSIG. All Rights Reserved.