org.codehaus.xfire.loom
Class DefaultServiceDeployer

java.lang.Object
  extended by AbstractLogEnabled
      extended by org.codehaus.xfire.loom.DefaultServiceDeployer
All Implemented Interfaces:
ServiceDeployer

public class DefaultServiceDeployer
extends AbstractLogEnabled
implements ServiceDeployer

Default implementation of ServiceDeployer

Author:
peter royal

Constructor Summary
DefaultServiceDeployer()
           
 
Method Summary
 void configure(Configuration configuration)
           
 void deploy(java.lang.String key, java.lang.Object object)
          Deploy the specified object via XFire.
 void service(ServiceManager manager)
           
 void undeploy(java.lang.String key)
          Undeploy the specified object as previously deployed with ServiceDeployer.deploy(String, Object)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceDeployer

public DefaultServiceDeployer()
Method Detail

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Throws:
ConfigurationException

service

public void service(ServiceManager manager)
             throws ServiceException
Throws:
ServiceException

deploy

public void deploy(java.lang.String key,
                   java.lang.Object object)
            throws java.lang.Exception
Description copied from interface: ServiceDeployer
Deploy the specified object via XFire. The key points to a predefined configuration that this component may have. If the key is not recognized by this component, a template configuration will be used.

Specified by:
deploy in interface ServiceDeployer
Parameters:
key - Key of service to deploy. Required.
object - Object to deploy as service. Required.
Throws:
java.lang.Exception

undeploy

public void undeploy(java.lang.String key)
Description copied from interface: ServiceDeployer
Undeploy the specified object as previously deployed with ServiceDeployer.deploy(String, Object)

Specified by:
undeploy in interface ServiceDeployer
Parameters:
key - Key of service to undeploy. Required.


Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.