org.apache.cocoon.components
Class ComponentInfo

java.lang.Object
  extended byorg.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 $

Field Summary
static int MODEL_NON_THREAD_SAFE_POOLED
           
static int MODEL_POOLED
           
static int MODEL_PRIMITIVE
           
static int MODEL_SINGLETON
           
static int MODEL_UNKNOWN
           
static String TYPE_NON_THREAD_SAFE_POOLED
           
static String TYPE_POOLED
           
static String TYPE_SINGLETON
           
 
Constructor Summary
ComponentInfo()
           
 
Method Summary
 ComponentInfo duplicate()
           
 void fill(Configuration attr)
           
 Configuration getConfiguration()
           
 String getDestroyMethodName()
           
 String getInitMethodName()
           
 String getLocation()
           
 String getLoggerCategory()
           
 int getModel()
           
 String getPoolInMethodName()
           
 String getPoolOutMethodName()
           
 String getServiceClassName()
           
 void setConfiguration(Configuration configuration)
           
 void setDestroyMethodName(String destroyMethod)
           
 void setInitMethodName(String initMethod)
           
 void setLoggerCategory(String loggerCategory)
           
 void setModel(int model)
           
 void setPoolInMethodName(String poolMethod)
           
 void setPoolOutMethodName(String poolMethod)
           
 void setServiceClassName(String serviceClassName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ComponentInfo

public ComponentInfo()
Method Detail

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.