org.openmdx.base.accessor.generic.cci
Interface ObjectFactory_1_1

All Superinterfaces:
Marshaller, ObjectFactory_1_0
All Known Subinterfaces:
ObjectFactory_1_2
All Known Implementing Classes:
Manager_1

public interface ObjectFactory_1_1
extends ObjectFactory_1_0

SPICE Object Layer: Object Factory Interface.

The object factory returns the same object for a given object id as long as it is not garbage collected.

Since:
1.3

Method Summary
 Object_1_0 createObject(String objectClass, Object_1_0 initialValues)
          This method creates a new object with the initial values.
 Object_1_0 createObject(String roleClass, String roleId, Object_1_0 roleCapable)
          This method creates a new role of a RoleCapable object.
 
Methods inherited from interface org.openmdx.base.accessor.generic.cci.ObjectFactory_1_0
close, createObject, createStructure, getObject, getUnitOfWork
 
Methods inherited from interface org.openmdx.compatibility.base.marshalling.Marshaller
marshal, unmarshal
 

Method Detail

createObject

Object_1_0 createObject(String objectClass,
                        Object_1_0 initialValues)
                        throws ServiceException
This method creates a new object with the initial values.

This method method and its org::openmdx::compatibility::role1 model are deprecated in favour of the org::openmdx::base::RoleCapable class and the $link{ObjectFactory_1_1#createObject(java.lang.String, java.lang.String,Object_1_0) createObject(String,String,Object_1_0)} method.

Specified by:
createObject in interface ObjectFactory_1_0
Throws:
ServiceException
See Also:
Role

createObject

Object_1_0 createObject(String roleClass,
                        String roleId,
                        Object_1_0 roleCapable)
                        throws ServiceException
This method creates a new role of a RoleCapable object.

Throws:
ServiceException
See Also:
RoleCapable


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.