org.apache.avalon.phoenix.components.embeddor
Class SingleAppEmbeddor

org.apache.avalon.phoenix.components.embeddor.SingleAppEmbeddor

public class SingleAppEmbeddor

WARNING: DO NOT USE THIS SERVLET FOR PRODUCTION SERVICE. THIS IS EXPERIMENTAL. Embeddor to host only a single application. It is required that the user set parameter

Other parameters are inherited from PhoenixEmbeddor.

Author:
Eung-ju Park, Peter Donald

Constructor Summary
SingleAppEmbeddor()
          Deprecated.  
 
Method Summary
protected  void deployDefaultApplications()
          Deprecated. Deploy a single application.
 boolean hasComponent(String role)
          Deprecated.  
 String[] list()
          Deprecated. List all block names in application.
 Component lookup(String role)
          Deprecated. Get a Block by name.
 void release(Component component)
          Deprecated. Release block back to application.
 

Constructor Detail

SingleAppEmbeddor

public SingleAppEmbeddor()
Deprecated. 
Method Detail

deployDefaultApplications

protected void deployDefaultApplications()
                                  throws Exception
Deprecated. 
Deploy a single application.
Throws:
Exception - if an error occurs

list

public String[] list()
Deprecated. 
List all block names in application.
Returns:
the list of all block names

lookup

public Component lookup(String role)
                 throws ComponentException
Deprecated. 
Get a Block by name.
Returns:
the block in application

hasComponent

public boolean hasComponent(String role)
Deprecated. 

release

public void release(Component component)
Deprecated. 
Release block back to application.
Parameters:
component - the block


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.