org.codehaus.xfire.loom
Interface ServiceDeployer

All Known Implementing Classes:
DefaultServiceDeployer

public interface ServiceDeployer

Component to deploy components in XFire using (optional) predefined configurations

Author:
peter royal

Method Summary
 void deploy(java.lang.String key, java.lang.Object object)
          Deploy the specified object via XFire.
 void undeploy(java.lang.String key)
          Undeploy the specified object as previously deployed with deploy(String, Object)
 

Method Detail

deploy

void deploy(java.lang.String key,
            java.lang.Object object)
            throws java.lang.Exception
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.

Parameters:
key - Key of service to deploy. Required.
object - Object to deploy as service. Required.
Throws:
java.lang.Exception

undeploy

void undeploy(java.lang.String key)
Undeploy the specified object as previously deployed with deploy(String, Object)

Parameters:
key - Key of service to undeploy. Required.