org.opencrx.kernel.layer.application
Class OpenCrxKernel_1
java.lang.Object
org.openmdx.application.dataprovider.spi.Layer_1
org.opencrx.kernel.layer.application.OpenCrxKernel_1
- All Implemented Interfaces:
- org.openmdx.application.dataprovider.cci.Dataprovider_1_0, org.openmdx.application.dataprovider.spi.Layer_1_0, org.openmdx.application.dataprovider.spi.Layer_1_1, org.openmdx.application.dataprovider.spi.Layer_1_2, org.openmdx.application.dataprovider.spi.Operation_1_0
public class OpenCrxKernel_1
- extends org.openmdx.application.dataprovider.spi.Layer_1
openCRX application plugin. This plugin implements the openCRX
application logic. It is implemented as openMDX compatibility plugin. It
will be migrated to a JMI plugin in version 2.x of openCRX. This will make
the plugin more object-oriented and more extensible.
However, it can be extended as follows by user-defined application logic:
- Object validation: override the method validateObject().
- Workflow: provide a class implementing the interface Workflow_1_0.
For sample workflows @see org.opencrx.kernel.worklow. The workflow
class must be registered as WfProcess object using the GUI.
- Derived attributes: the computation of derived attributes can be
added by extending completeObject().
| Methods inherited from class org.openmdx.application.dataprovider.spi.Layer_1 |
configurationSpecification, deactivate, epilog, getConfiguration, getDelegation, getDelegation, getId, getLenientProcessor, getModel, isBypassedByLenientRequests, isLenient, modify, operation, process, process, process, process, prolog, replace, set, startPublishing, terminal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_DATE
public static final String MAX_DATE
- See Also:
- Constant Field Values
header
protected org.openmdx.application.dataprovider.cci.ServiceHeader header
delegation
protected org.openmdx.application.dataprovider.cci.RequestCollection delegation
readOnlyTypes
protected List<String> readOnlyTypes
datatypes
public DatatypeFactory datatypes
localCorrelationId
public String localCorrelationId
requestHelper
public RequestHelper requestHelper
OpenCrxKernel_1
public OpenCrxKernel_1()
activate
public void activate(short id,
org.openmdx.application.configuration.Configuration configuration,
org.openmdx.application.dataprovider.spi.Layer_1_0 delegation)
throws ServiceException
- Specified by:
activate in interface org.openmdx.application.dataprovider.spi.Layer_1_0- Overrides:
activate in class org.openmdx.application.dataprovider.spi.Layer_1
- Throws:
ServiceException
getRequestContext
protected RequestContext getRequestContext(org.openmdx.application.dataprovider.cci.ServiceHeader header)
throws ServiceException
- Throws:
ServiceException
getRequestHelper
protected RequestHelper getRequestHelper()
throws ServiceException
- Implement a user-defined backend as follows:
- Create a backend class which extends the default backend class
Backend
- Create a plugin class which extends this plugin and override the method
getBackend
- Throws:
ServiceException
testReferenceIsChangeable
public void testReferenceIsChangeable(org.openmdx.base.naming.Path referencePath)
throws ServiceException
- Throws:
ServiceException
prolog
public void prolog(org.openmdx.application.dataprovider.cci.ServiceHeader header,
org.openmdx.application.dataprovider.cci.DataproviderRequest[] requests)
throws ServiceException
- Specified by:
prolog in interface org.openmdx.application.dataprovider.spi.Layer_1_0- Overrides:
prolog in class org.openmdx.application.dataprovider.spi.Layer_1
- Throws:
ServiceException
epilog
public void epilog(org.openmdx.application.dataprovider.cci.ServiceHeader header,
org.openmdx.application.dataprovider.cci.DataproviderRequest[] requests,
org.openmdx.application.dataprovider.cci.DataproviderReply[] replies)
throws ServiceException
- Specified by:
epilog in interface org.openmdx.application.dataprovider.spi.Layer_1_0- Overrides:
epilog in class org.openmdx.application.dataprovider.spi.Layer_1
- Throws:
ServiceException
get
public org.openmdx.application.dataprovider.cci.DataproviderReply get(org.openmdx.application.dataprovider.cci.ServiceHeader header,
org.openmdx.application.dataprovider.cci.DataproviderRequest request)
throws ServiceException
- Specified by:
get in interface org.openmdx.application.dataprovider.spi.Layer_1_0- Overrides:
get in class org.openmdx.application.dataprovider.spi.Layer_1
- Throws:
ServiceException
find
public org.openmdx.application.dataprovider.cci.DataproviderReply find(org.openmdx.application.dataprovider.cci.ServiceHeader header,
org.openmdx.application.dataprovider.cci.DataproviderRequest request)
throws ServiceException
- Specified by:
find in interface org.openmdx.application.dataprovider.spi.Layer_1_0- Overrides:
find in class org.openmdx.application.dataprovider.spi.Layer_1
- Throws:
ServiceException
create
public org.openmdx.application.dataprovider.cci.DataproviderReply create(org.openmdx.application.dataprovider.cci.ServiceHeader header,
org.openmdx.application.dataprovider.cci.DataproviderRequest request)
throws ServiceException
- Specified by:
create in interface org.openmdx.application.dataprovider.spi.Layer_1_0- Overrides:
create in class org.openmdx.application.dataprovider.spi.Layer_1
- Throws:
ServiceException
remove
public org.openmdx.application.dataprovider.cci.DataproviderReply remove(org.openmdx.application.dataprovider.cci.ServiceHeader header,
org.openmdx.application.dataprovider.cci.DataproviderRequest request)
throws ServiceException
- Specified by:
remove in interface org.openmdx.application.dataprovider.spi.Layer_1_0- Overrides:
remove in class org.openmdx.application.dataprovider.spi.Layer_1
- Throws:
ServiceException
uidAsString
protected final String uidAsString()
This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.