Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.opss.config.persistence
Interface ConfigPersistenceElement

All Known Subinterfaces:
ConfigElementRef, DependentServiceP, ExtendedPropertyP, ExtendedPropertySetP, ExtendedPropertySetRefP, ExtendedPropertySetsP, ExtendedPropertyValuesP, JpsConfigurationP, JpsContextP, JpsContextRefP, JpsContextsP, PropertyP, PropertySetP, PropertySetRefP, PropertySetsP, ServiceInstanceP

public interface ConfigPersistenceElement

The Base Class for Persistence (DAO) Layer JpsConfiguration Elements. Not every method here would be applicable to all the persistence layer configuration elements. For example depending on the Persistence Backend the persist method may or maynot apply to every configuration element.

The unnamed container/grouping elements PropertySetsP, ExtendedPropertySetsP, ServiceInstancesP and ServiceProvidersP pose a problem when it comes to defining a Persistence model for the PropertyChanges[].

Author:
vbkumarjayanti

Method Summary
 java.beans.PropertyChangeEvent[] getChanges()
           
 JpsConfigurationPMetaFactory getMetaFactory()
           
 ConfigPersistenceElement getParent()
           
 void persist()
          Persists the configuration element by externalizing the changes to a DataStore.

 

Method Detail

getChanges

java.beans.PropertyChangeEvent[] getChanges()
Returns:
the property changes (including addition and deletion) performed on this configuration element.

persist

void persist()
             throws ConfigurationPersistenceException
Persists the configuration element by externalizing the changes to a DataStore. The getChanges() method should return an empty array after a persist operation call.
Throws:
JpsConfigurationPException - if the persist operation fails or cannot be persisted Note: in case of an XML based Persistence layer, persist can only be supported at the RootElement
ConfigurationPersistenceException

getMetaFactory

JpsConfigurationPMetaFactory getMetaFactory()
Returns:
the Persistence Layer MetaFactory

getParent

ConfigPersistenceElement getParent()
Returns:
the Parent Configuration element. Null if the element is a Root element.

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.