org.apache.openejb.config
Class DeploymentImpl

java.lang.Object
  extended by org.apache.openejb.config.DeploymentImpl
All Implemented Interfaces:
Deployment

public class DeploymentImpl
extends Object
implements Deployment

Version:
$Rev: 602718 $ $Date: 2007-12-09 20:06:11 +0100 (So, 09. Dez 2007) $

Nested Class Summary
static class DeploymentImpl.DeploymentFactoryImpl
           
 
Constructor Summary
DeploymentImpl(URI uri, String user, String password)
           
 
Method Summary
 Set<String> deploy(Set<String> targets, File file)
           
 String getPassword()
           
 Properties getProperties()
           
 URI getUri()
           
 String getUser()
           
 Set<String> list(String type, String state, Set<String> targets)
           
 void release()
           
 Set<String> restart(Set<String> modules)
           
 Set<String> start(Set<String> modules)
           
 Set<String> stop(Set<String> modules)
           
 Set<String> undeploy(Set<String> modules)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentImpl

public DeploymentImpl(URI uri,
                      String user,
                      String password)
Method Detail

getUri

public URI getUri()

getUser

public String getUser()

getPassword

public String getPassword()

release

public void release()
Specified by:
release in interface Deployment

getProperties

public Properties getProperties()
Specified by:
getProperties in interface Deployment

list

public Set<String> list(String type,
                        String state,
                        Set<String> targets)
                 throws DeploymentException
Specified by:
list in interface Deployment
Throws:
DeploymentException

deploy

public Set<String> deploy(Set<String> targets,
                          File file)
                   throws DeploymentException
Specified by:
deploy in interface Deployment
Throws:
DeploymentException

start

public Set<String> start(Set<String> modules)
                  throws DeploymentException
Specified by:
start in interface Deployment
Throws:
DeploymentException

stop

public Set<String> stop(Set<String> modules)
                 throws DeploymentException
Specified by:
stop in interface Deployment
Throws:
DeploymentException

restart

public Set<String> restart(Set<String> modules)
                    throws DeploymentException
Specified by:
restart in interface Deployment
Throws:
DeploymentException

undeploy

public Set<String> undeploy(Set<String> modules)
                     throws DeploymentException
Specified by:
undeploy in interface Deployment
Throws:
DeploymentException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.