Package org.alfresco.util
Class StringAppendingFactoryBean
- java.lang.Object
-
- org.alfresco.util.StringAppendingFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean
public class StringAppendingFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean
A simple factory for glueing together multiple arguments as a string- Author:
- dward
-
-
Constructor Summary
Constructors Constructor Description StringAppendingFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetObject()Class<?>getObjectType()booleanisSingleton()voidsetItems(Object[] items)Sets the items to be appended together.
-
-
-
Method Detail
-
setItems
public void setItems(Object[] items)
Sets the items to be appended together.- Parameters:
items- the items
-
getObject
public Object getObject() throws Exception
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean
-
-