Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

XmlConfigurable Class Reference

#include <coherence/run/xml/XmlConfigurable.hpp>

Inherits Object.

Inherited by ConfigurableCacheFactory [virtual].

List of all members.


Detailed Description

XmlConfigurable interface represents an Object that can be configured by providing configuration information from XML structure.
 

Public Types

typedef spec::Handle Handle
 XmlConfigurable Handle definition.
typedef spec::View View
 XmlConfigurable View definition.
typedef spec::Holder Holder
 XmlConfigurable Holder definition.

Public Member Functions

virtual XmlElement::View getConfig () const =0
 If this Object was previously configured using some XML configuration, the corresponding XmlElement is returned.
virtual void setConfig (XmlElement::View vXml)=0
 Configure this Object using the provided XmlElement.

Member Function Documentation

virtual XmlElement::View getConfig (  )  const [pure virtual]

If this Object was previously configured using some XML configuration, the corresponding XmlElement is returned.

Returns:
a view of the XmlElement used to configure this Object

Implemented in DefaultConfigurableCacheFactory.

virtual void setConfig ( XmlElement::View  vXml  )  [pure virtual]

Configure this Object using the provided XmlElement.

Parameters:
 vXml the XML configuration to set


The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.