net.sf.bigyo.container
Class ComponentDescription

java.lang.Object
  extended by net.sf.bigyo.container.ComponentDescription

public class ComponentDescription
extends Object

Author:
zsombor Created on 2004.03.31.

Constructor Summary
ComponentDescription()
           
ComponentDescription(String classAlias, Class componentClass, Class configClass, String type)
           
ComponentDescription(String classAlias, String className, String configClassName, String type)
           
 
Method Summary
 ComponentDescription addDepend(String name)
           
 ComponentDescription addDepend(String name, String depType)
           
 ComponentDescription addDependSetter(String name, String methodName)
           
 void addProvideAlias(String alias)
           
 String getClassAlias()
           
 String getClassName()
           
 String getConfigClass()
           
 ClassDependency getDependency(String classAlias)
           
 List getDepends()
           
 List getProvides()
           
 String getStart()
           
 String getStop()
           
 String getType()
           
 Class lookupClass()
           
 void setClassAlias(String name)
           
 void setClassName(String className)
           
 void setConfigClass(String configClassName)
           
 void setDepends(List depends)
           
 void setProvides(List provides)
           
 void setStart(String startMethod)
           
 void setStop(String stopMethod)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentDescription

public ComponentDescription()

ComponentDescription

public ComponentDescription(String classAlias,
                            String className,
                            String configClassName,
                            String type)
Parameters:
classAlias -
className -
configClassName -
type -

ComponentDescription

public ComponentDescription(String classAlias,
                            Class componentClass,
                            Class configClass,
                            String type)
Parameters:
classAlias -
className -
configClassName -
type -
Method Detail

getClassName

public String getClassName()
Returns:
Returns the className.

setClassName

public void setClassName(String className)
Parameters:
className - The className to set.

getDepends

public List getDepends()
Returns:
Returns the depends.

setDepends

public void setDepends(List depends)
Parameters:
depends - The depends to set.

getClassAlias

public String getClassAlias()
Returns:
Returns the name.

setClassAlias

public void setClassAlias(String name)
Parameters:
name - The name to set.

getType

public String getType()
Returns:
Returns the type.

setType

public void setType(String type)
Parameters:
type - The type to set.

getConfigClass

public String getConfigClass()
Returns:
Returns the configClassName.

setConfigClass

public void setConfigClass(String configClassName)
Parameters:
configClassName - The configClassName to set.

addDepend

public ComponentDescription addDepend(String name)

addDepend

public ComponentDescription addDepend(String name,
                                      String depType)

addDependSetter

public ComponentDescription addDependSetter(String name,
                                            String methodName)

getDependency

public ClassDependency getDependency(String classAlias)

getStart

public String getStart()
Returns:
Returns the startMethod.

setStart

public void setStart(String startMethod)
Parameters:
startMethod - The startMethod to set.

getStop

public String getStop()
Returns:
Returns the stopMethod.

setStop

public void setStop(String stopMethod)
Parameters:
stopMethod - The stopMethod to set.

getProvides

public List getProvides()

setProvides

public void setProvides(List provides)

addProvideAlias

public void addProvideAlias(String alias)

lookupClass

public Class lookupClass()
                  throws ClassNotFoundException
Throws:
ClassNotFoundException


Copyright © 2004 Sourceforge.net. All Rights Reserved.