org.apache.cocoon.components
Class ComponentInfo
java.lang.Object
org.apache.cocoon.components.ComponentInfo
- public final class ComponentInfo
- extends Object
Meta-information about a service
- Version:
- CVS $Id: ComponentInfo.java 312861 2005-10-11 11:46:08Z cziegeler $
MODEL_UNKNOWN
public static final int MODEL_UNKNOWN
- See Also:
- Constant Field Values
MODEL_PRIMITIVE
public static final int MODEL_PRIMITIVE
- See Also:
- Constant Field Values
MODEL_SINGLETON
public static final int MODEL_SINGLETON
- See Also:
- Constant Field Values
MODEL_POOLED
public static final int MODEL_POOLED
- See Also:
- Constant Field Values
MODEL_NON_THREAD_SAFE_POOLED
public static final int MODEL_NON_THREAD_SAFE_POOLED
- See Also:
- Constant Field Values
TYPE_SINGLETON
public static final String TYPE_SINGLETON
- See Also:
- Constant Field Values
TYPE_POOLED
public static final String TYPE_POOLED
- See Also:
- Constant Field Values
TYPE_NON_THREAD_SAFE_POOLED
public static final String TYPE_NON_THREAD_SAFE_POOLED
- See Also:
- Constant Field Values
ComponentInfo
public ComponentInfo()
getModel
public int getModel()
- Returns:
- Returns the model.
setModel
public void setModel(int model)
- Parameters:
model
- The model to set.
getDestroyMethodName
public String getDestroyMethodName()
- Returns:
- Returns the destroyMethod.
setDestroyMethodName
public void setDestroyMethodName(String destroyMethod)
- Parameters:
destroyMethod
- The destroyMethod to set.
getInitMethodName
public String getInitMethodName()
- Returns:
- Returns the initMethod.
setInitMethodName
public void setInitMethodName(String initMethod)
- Parameters:
initMethod
- The initMethod to set.
getPoolInMethodName
public String getPoolInMethodName()
- Returns:
- Returns the poolInMethodName
setPoolInMethodName
public void setPoolInMethodName(String poolMethod)
- Parameters:
poolMethod
- The poolInMethod name to set.
getPoolOutMethodName
public String getPoolOutMethodName()
- Returns:
- Returns the poolOutMethodName
setPoolOutMethodName
public void setPoolOutMethodName(String poolMethod)
- Parameters:
poolMethod
- The poolOutMethod name to set.
getServiceClassName
public String getServiceClassName()
- Returns:
- Returns the serviceClassName.
setServiceClassName
public void setServiceClassName(String serviceClassName)
- Parameters:
serviceClassName
- The serviceClassName to set.
getConfiguration
public Configuration getConfiguration()
- Returns:
- Returns the configuration.
setConfiguration
public void setConfiguration(Configuration configuration)
- Parameters:
configuration
- The configuration to set.
getLocation
public String getLocation()
toString
public String toString()
fill
public void fill(Configuration attr)
duplicate
public ComponentInfo duplicate()
getLoggerCategory
public String getLoggerCategory()
- Returns:
- Returns the loggerCategory.
setLoggerCategory
public void setLoggerCategory(String loggerCategory)
- Parameters:
loggerCategory
- The loggerCategory to set.
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.