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

java.lang.Object
  |
  +--AbstractLogEnabled
        |
        +--org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor
              |
              +--org.apache.avalon.phoenix.components.embeddor.SingleAppEmbeddor
All Implemented Interfaces:
Embeddor, EmbeddorMBean

public class SingleAppEmbeddor
extends DefaultEmbeddor

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
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.avalon.phoenix.interfaces.Embeddor
ROLE
 
Fields inherited from interface org.apache.avalon.phoenix.interfaces.EmbeddorMBean
ROLE
 
Constructor Summary
SingleAppEmbeddor()
          Deprecated.  
 
Method Summary
protected  void deployDefaultApplications()
          Deprecated. Deploy a single application.
 boolean hasComponent(java.lang.String role)
          Deprecated.  
 java.lang.String[] list()
          Deprecated. List all block names in application.
 Component lookup(java.lang.String role)
          Deprecated. Get a Block by name.
 void release(Component component)
          Deprecated. Release block back to application.
 
Methods inherited from class org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor
configure, contextualize, deployFile, dispose, execute, getBuild, getHomeDirectory, getKernel, getName, getParameters, getStartTime, getUpTimeInMillis, getVersion, initialize, parameterize, restart, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleAppEmbeddor

public SingleAppEmbeddor()
Deprecated. 
Method Detail

deployDefaultApplications

protected void deployDefaultApplications()
                                  throws java.lang.Exception
Deprecated. 
Deploy a single application.

Overrides:
deployDefaultApplications in class DefaultEmbeddor
Throws:
java.lang.Exception - if an error occurs

list

public java.lang.String[] list()
Deprecated. 
List all block names in application.

Returns:
the list of all block names

lookup

public Component lookup(java.lang.String role)
                 throws ComponentException
Deprecated. 
Get a Block by name.

Returns:
the block in application
ComponentException

hasComponent

public boolean hasComponent(java.lang.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.