net.sf.oxclient.factory
Interface IBeanFactory

All Known Implementing Classes:
BeanManager, DefaultBeanFactory

public interface IBeanFactory

Author:
Björn Voß

Method Summary
<E> E
createNewInstance(Class<E> clazz)
          Create a instances of the given class.
 

Method Detail

createNewInstance

<E> E createNewInstance(Class<E> clazz)
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.

Type Parameters:
E -
Parameters:
clazz -
Returns:
object instance
Throws:
IllegalArgumentException - if this IBeanFactory can't instantiate the given class


Copyright © 2007. All Rights Reserved.