com.caucho.env.deploy
Interface DeployContainerApi<C extends DeployControllerApi<?>>

All Superinterfaces:
Dependency
All Known Implementing Classes:
DeployContainer

public interface DeployContainerApi<C extends DeployControllerApi<?>>
extends Dependency

A container of deploy objects.


Method Summary
 void add(DeployGenerator<C> generator)
          Adds a deploy generator.
 void destroy()
          Closes the deployment container.
 C findController(java.lang.String name)
          Returns the matching controller.
 C findControllerById(java.lang.String tag)
          Returns the matching controller by the id.
 C[] getControllers()
          Returns the deployed entries.
 void remove(DeployGenerator<C> generator)
          Removes a deploy.
 void remove(java.lang.String name)
          Called to explicitly remove a controller.
 void start()
          Start the container.
 void stop()
          Stops all controllers.
 void update()
          Checks for updates for all controllers and generators.
 C update(java.lang.String name)
          Called to explicitly update a controller.
 
Methods inherited from interface com.caucho.vfs.Dependency
isModified, logModified
 

Method Detail

add

void add(DeployGenerator<C> generator)
Adds a deploy generator.


remove

void remove(DeployGenerator<C> generator)
Removes a deploy.


start

void start()
Start the container.


update

void update()
Checks for updates for all controllers and generators.


stop

void stop()
Stops all controllers.


destroy

void destroy()
Closes the deployment container.


findController

C findController(java.lang.String name)
Returns the matching controller.


findControllerById

C findControllerById(java.lang.String tag)
Returns the matching controller by the id.


getControllers

C[] getControllers()
Returns the deployed entries.


update

C update(java.lang.String name)
Called to explicitly update a controller.


remove

void remove(java.lang.String name)
Called to explicitly remove a controller.