org.apache.avalon.composition.data
Class NamedComponentProfile

java.lang.Object
  extended byorg.apache.avalon.composition.data.DeploymentProfile
      extended byorg.apache.avalon.composition.data.NamedComponentProfile
All Implemented Interfaces:
Serializable

public class NamedComponentProfile
extends DeploymentProfile

A named deployment profile.

Version:
$Revision: 1.5 $ $Date: 2004/03/11 01:30:38 $
Author:
Avalon Development Team
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.avalon.composition.data.DeploymentProfile
DEFAULT, DISABLED, ENABLED
 
Constructor Summary
NamedComponentProfile(String name, String classname, String key, int activation)
           
 
Method Summary
 String getClassname()
          Return the component type classname.
 String getKey()
          Return the component profile key.
 String toString()
          Returns a string representation of the profile.
 
Methods inherited from class org.apache.avalon.composition.data.DeploymentProfile
getActivationDirective, getCategories, getMode, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedComponentProfile

public NamedComponentProfile(String name,
                             String classname,
                             String key,
                             int activation)
Method Detail

getClassname

public String getClassname()
Return the component type classname.

Returns:
classname of the component type

getKey

public String getKey()
Return the component profile key.

Returns:
the name of a profile pacikaged with the component type

toString

public String toString()
Returns a string representation of the profile.

Overrides:
toString in class DeploymentProfile
Returns:
a string representation


Copyright © The Apache Software Foundation. All Rights Reserved.