net.sf.oxclient.factory
Class BeanManager
java.lang.Object
net.sf.oxclient.factory.BeanManager
- All Implemented Interfaces:
- IBeanFactory, IBeanHelper
@Guarded
public class BeanManager
- extends Object
- implements IBeanFactory, IBeanHelper
- Author:
- Björn Voß
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanManager
public BeanManager()
createNewInstance
public <E> E createNewInstance(Class<E> clazz)
- Description copied from interface:
IBeanFactory
- Create a instances of the given class.
Implementations may set default properties. Object instances returned by
this method are ready to use and will be filled with values from
Open-Xchange™ through the HTTP-API.
- Specified by:
createNewInstance
in interface IBeanFactory
- Returns:
- object instance
setProperty
public void setProperty(@NotNull
Object bean,
@NotNull
String property,
Object value)
- Description copied from interface:
IBeanHelper
- Similar to apache commons
BeanUtils
, this method sets the
specified value.
But the great difference is that nested properties are instantiated if
necessary.
- Specified by:
setProperty
in interface IBeanHelper
setBeanFactory
public void setBeanFactory(@NotNull
IBeanFactory beanFactory)
setConverter
public void setConverter(@NotNull
IUniversalConverter converter)
Copyright © 2007. All Rights Reserved.