aslak

Arquillian - Beta1 - DeployableContainer

Oct 29th, 2010
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1. public interface DeployableContainer<T extends ContainerConfiguration>
  2. {
  3.    Class<T> getConfigurationClass();
  4.    
  5.    void setup(T configuration);
  6.    
  7.    void start() throws LifecycleException;
  8.    
  9.    ProtocolMetaData deploy(DeploymentDescription... deployments) throws DeploymentException;
  10.    
  11.    void undeploy(DeploymentDescription... deployments) throws DeploymentException;
  12.  
  13.    void stop() throws LifecycleException;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment