| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>DefaultStateManager (Apache Axis2)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="DefaultStateManager (Apache Axis2)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DefaultStateManager.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/axis2/clustering/state/ClusteringContextListener.html" title="class in org.apache.axis2.clustering.state"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/axis2/clustering/state/PropertyUpdater.html" title="class in org.apache.axis2.clustering.state"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/axis2/clustering/state/DefaultStateManager.html" target="_top">Frames</a></li> |
| <li><a href="DefaultStateManager.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.axis2.clustering.state</div> |
| <h2 title="Class DefaultStateManager" class="title">Class DefaultStateManager</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.axis2.clustering.state.DefaultStateManager</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a>, <a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="strong">DefaultStateManager</span> |
| extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> |
| implements <a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></pre> |
| <div class="block">This class is the defaut StateManager of the Apache Tribes based clustering implementation</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#DefaultStateManager()">DefaultStateManager</a></strong>()</code> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#addParameter(org.apache.axis2.description.Parameter)">addParameter</a></strong>(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> param)</code> |
| <div class="block">Method addParameter.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#deserializeParameters(org.apache.axiom.om.OMElement)">deserializeParameters</a></strong>(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> parameterElement)</code> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#getParameter(java.lang.String)">getParameter</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> |
| <div class="block">Method getParameter.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#getParameters()">getParameters</a></strong>()</code> |
| <div class="block">Gets all the parameters in a given description.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#getReplicationExcludePatterns()">getReplicationExcludePatterns</a></strong>()</code> |
| <div class="block">Get all the excluded context property name patterns</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#isContextClusterable(org.apache.axis2.context.AbstractContext)">isContextClusterable</a></strong>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a> context)</code> |
| <div class="block">This is a check to see whether the properties in an instance of <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> |
| should be replicated.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#isParameterLocked(java.lang.String)">isParameterLocked</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> parameterName)</code> |
| <div class="block">Checks whether the parameter is locked at any level.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#removeContext(org.apache.axis2.context.AbstractContext)">removeContext</a></strong>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a> context)</code> |
| <div class="block">This method is called when <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> is removed from the system</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#removeParameter(org.apache.axis2.description.Parameter)">removeParameter</a></strong>(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> param)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#replicateState(org.apache.axis2.clustering.state.StateClusteringCommand)">replicateState</a></strong>(<a href="../../../../../org/apache/axis2/clustering/state/StateClusteringCommand.html" title="class in org.apache.axis2.clustering.state">StateClusteringCommand</a> command)</code> |
| <div class="block">Replicate state using a custom StateClusteringCommand</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#setConfigurationContext(org.apache.axis2.context.ConfigurationContext)">setConfigurationContext</a></strong>(<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext)</code> |
| <div class="block">Set the system's configuration context.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#setReplicationExcludePatterns(java.lang.String, java.util.List)">setReplicationExcludePatterns</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contextType, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> patterns)</code> |
| <div class="block"> |
| All properties in the context with type <code>contextType</code> which have |
| names that match the specified pattern will be excluded from replication.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#setSender(org.apache.axis2.clustering.tribes.ChannelSender)">setSender</a></strong>(<a href="../../../../../org/apache/axis2/clustering/tribes/ChannelSender.html" title="class in org.apache.axis2.clustering.tribes">ChannelSender</a> sender)</code> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#updateContext(org.apache.axis2.context.AbstractContext)">updateContext</a></strong>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a> context)</code> |
| <div class="block">This method is called when properties in an <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> are updated.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#updateContext(org.apache.axis2.context.AbstractContext, java.lang.String[])">updateContext</a></strong>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a> context, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] propertyNames)</code> |
| <div class="block">This method is called when one need to update/replicate only certains properties in the |
| specified <code>context</code></div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/apache/axis2/clustering/state/DefaultStateManager.html#updateContexts(org.apache.axis2.context.AbstractContext[])">updateContexts</a></strong>(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>[] contexts)</code> |
| <div class="block">This method is called when properties in a collection of <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a>s are updated.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor_detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DefaultStateManager()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DefaultStateManager</h4> |
| <pre>public DefaultStateManager()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="setSender(org.apache.axis2.clustering.tribes.ChannelSender)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSender</h4> |
| <pre>public void setSender(<a href="../../../../../org/apache/axis2/clustering/tribes/ChannelSender.html" title="class in org.apache.axis2.clustering.tribes">ChannelSender</a> sender)</pre> |
| </li> |
| </ul> |
| <a name="updateContext(org.apache.axis2.context.AbstractContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateContext</h4> |
| <pre>public void updateContext(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a> context) |
| throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContext(org.apache.axis2.context.AbstractContext)">StateManager</a></code></strong></div> |
| <div class="block">This method is called when properties in an <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> are updated. |
| This could be addition of new properties, modifications of existing properties or |
| removal of properties.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContext(org.apache.axis2.context.AbstractContext)">updateContext</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>context</code> - The context to be replicated</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If replication fails</dd></dl> |
| </li> |
| </ul> |
| <a name="updateContext(org.apache.axis2.context.AbstractContext, java.lang.String[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateContext</h4> |
| <pre>public void updateContext(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a> context, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] propertyNames) |
| throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContext(org.apache.axis2.context.AbstractContext, java.lang.String[])">StateManager</a></code></strong></div> |
| <div class="block">This method is called when one need to update/replicate only certains properties in the |
| specified <code>context</code></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContext(org.apache.axis2.context.AbstractContext, java.lang.String[])">updateContext</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>context</code> - The AbstractContext containing the properties to be replicated</dd><dd><code>propertyNames</code> - The names of the specific properties that should be replicated</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If replication fails</dd></dl> |
| </li> |
| </ul> |
| <a name="updateContexts(org.apache.axis2.context.AbstractContext[])"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateContexts</h4> |
| <pre>public void updateContexts(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a>[] contexts) |
| throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContexts(org.apache.axis2.context.AbstractContext[])">StateManager</a></code></strong></div> |
| <div class="block">This method is called when properties in a collection of <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a>s are updated. |
| This could be addition of new properties, modifications of existing properties or |
| removal of properties.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#updateContexts(org.apache.axis2.context.AbstractContext[])">updateContexts</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>contexts</code> - The AbstractContexts containing the properties to be replicated</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If replication fails</dd></dl> |
| </li> |
| </ul> |
| <a name="replicateState(org.apache.axis2.clustering.state.StateClusteringCommand)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replicateState</h4> |
| <pre>public void replicateState(<a href="../../../../../org/apache/axis2/clustering/state/StateClusteringCommand.html" title="class in org.apache.axis2.clustering.state">StateClusteringCommand</a> command) |
| throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#replicateState(org.apache.axis2.clustering.state.StateClusteringCommand)">StateManager</a></code></strong></div> |
| <div class="block">Replicate state using a custom StateClusteringCommand</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#replicateState(org.apache.axis2.clustering.state.StateClusteringCommand)">replicateState</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>command</code> - The custom StateClusteringCommand which can be used for replicating state</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If replication fails</dd></dl> |
| </li> |
| </ul> |
| <a name="removeContext(org.apache.axis2.context.AbstractContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeContext</h4> |
| <pre>public void removeContext(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a> context) |
| throws <a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#removeContext(org.apache.axis2.context.AbstractContext)">StateManager</a></code></strong></div> |
| <div class="block">This method is called when <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> is removed from the system</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#removeContext(org.apache.axis2.context.AbstractContext)">removeContext</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>context</code> - The AbstractContext to be removed</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/ClusteringFault.html" title="class in org.apache.axis2.clustering">ClusteringFault</a></code> - If context removal fails</dd></dl> |
| </li> |
| </ul> |
| <a name="isContextClusterable(org.apache.axis2.context.AbstractContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isContextClusterable</h4> |
| <pre>public boolean isContextClusterable(<a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context">AbstractContext</a> context)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#isContextClusterable(org.apache.axis2.context.AbstractContext)">StateManager</a></code></strong></div> |
| <div class="block">This is a check to see whether the properties in an instance of <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> |
| should be replicated. This allows an implementer to dissallow the replication of properties |
| stored in a certain type of context</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#isContextClusterable(org.apache.axis2.context.AbstractContext)">isContextClusterable</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>context</code> - The instance of AbstractContext under consideration</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>True - if the provided <a href="../../../../../org/apache/axis2/context/AbstractContext.html" title="class in org.apache.axis2.context"><code>AbstractContext</code></a> is clusterable</dd></dl> |
| </li> |
| </ul> |
| <a name="setConfigurationContext(org.apache.axis2.context.ConfigurationContext)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setConfigurationContext</h4> |
| <pre>public void setConfigurationContext(<a href="../../../../../org/apache/axis2/context/ConfigurationContext.html" title="class in org.apache.axis2.context">ConfigurationContext</a> configurationContext)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setConfigurationContext(org.apache.axis2.context.ConfigurationContext)">StateManager</a></code></strong></div> |
| <div class="block">Set the system's configuration context. This will be used by the clustering implementations |
| to get information about the Axis2 environment and to correspond with the Axis2 environment</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setConfigurationContext(org.apache.axis2.context.ConfigurationContext)">setConfigurationContext</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>configurationContext</code> - The configuration context</dd></dl> |
| </li> |
| </ul> |
| <a name="setReplicationExcludePatterns(java.lang.String, java.util.List)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setReplicationExcludePatterns</h4> |
| <pre>public void setReplicationExcludePatterns(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> contextType, |
| <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a> patterns)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setReplicationExcludePatterns(java.lang.String, java.util.List)">StateManager</a></code></strong></div> |
| <div class="block"><p> |
| All properties in the context with type <code>contextType</code> which have |
| names that match the specified pattern will be excluded from replication. |
| </p> |
| <p/> |
| <p> |
| Only prefixes and suffixes are allowed. e.g. the local_* pattern indicates that |
| all property names starting with local_ should be omitted from replication. *_local pattern |
| indicated that all property names ending with _local should be omitted from replication. |
| * pattern indicates that all properties should be excluded. |
| </p> |
| <p> |
| Generally, we can use the context class name as the context type. |
| </p></div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setReplicationExcludePatterns(java.lang.String, java.util.List)">setReplicationExcludePatterns</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Parameters:</span></dt><dd><code>contextType</code> - The type of the context such as |
| org.apache.axis2.context.ConfigurationContext, |
| org.apache.axis2.context.ServiceGroupContext & |
| org.apache.axis2.context.ServiceContext. |
| Also "defaults" is a special type, which will apply to all contexts</dd><dd><code>patterns</code> - The patterns</dd></dl> |
| </li> |
| </ul> |
| <a name="getReplicationExcludePatterns()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getReplicationExcludePatterns</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> getReplicationExcludePatterns()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#getReplicationExcludePatterns()">StateManager</a></code></strong></div> |
| <div class="block">Get all the excluded context property name patterns</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#getReplicationExcludePatterns()">getReplicationExcludePatterns</a></code> in interface <code><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html" title="interface in org.apache.axis2.clustering.state">StateManager</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>All the excluded pattern of all the contexts. The key of the Map is the |
| the <code>contextType</code>. See <a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setReplicationExcludePatterns(java.lang.String, java.util.List)"><code>StateManager.setReplicationExcludePatterns(String,List)</code></a>. |
| The values are of type <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a> of <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a> Objects, |
| which are a collection of patterns to be excluded.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/axis2/clustering/state/StateManager.html#setReplicationExcludePatterns(java.lang.String, java.util.List)"><code>StateManager.setReplicationExcludePatterns(String, java.util.List)</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="addParameter(org.apache.axis2.description.Parameter)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addParameter</h4> |
| <pre>public void addParameter(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> param) |
| throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#addParameter(org.apache.axis2.description.Parameter)">ParameterInclude</a></code></strong></div> |
| <div class="block">Method addParameter.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#addParameter(org.apache.axis2.description.Parameter)">addParameter</a></code> in interface <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="removeParameter(org.apache.axis2.description.Parameter)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeParameter</h4> |
| <pre>public void removeParameter(<a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> param) |
| throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#removeParameter(org.apache.axis2.description.Parameter)">removeParameter</a></code> in interface <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| <a name="getParameter(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParameter</h4> |
| <pre>public <a href="../../../../../org/apache/axis2/description/Parameter.html" title="class in org.apache.axis2.description">Parameter</a> getParameter(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#getParameter(java.lang.String)">ParameterInclude</a></code></strong></div> |
| <div class="block">Method getParameter.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#getParameter(java.lang.String)">getParameter</a></code> in interface <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Returns Parameter.</dd></dl> |
| </li> |
| </ul> |
| <a name="getParameters()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getParameters</h4> |
| <pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a> getParameters()</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#getParameters()">ParameterInclude</a></code></strong></div> |
| <div class="block">Gets all the parameters in a given description.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#getParameters()">getParameters</a></code> in interface <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd> |
| <dt><span class="strong">Returns:</span></dt><dd>Returns ArrayList.</dd></dl> |
| </li> |
| </ul> |
| <a name="isParameterLocked(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isParameterLocked</h4> |
| <pre>public boolean isParameterLocked(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> parameterName)</pre> |
| <div class="block"><strong>Description copied from interface: <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#isParameterLocked(java.lang.String)">ParameterInclude</a></code></strong></div> |
| <div class="block">Checks whether the parameter is locked at any level.</div> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#isParameterLocked(java.lang.String)">isParameterLocked</a></code> in interface <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="deserializeParameters(org.apache.axiom.om.OMElement)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>deserializeParameters</h4> |
| <pre>public void deserializeParameters(<a href="http://ws.apache.org/axiom/apidocs/org/apache/axiom/om/OMElement.html?is-external=true" title="class or interface in org.apache.axiom.om">OMElement</a> parameterElement) |
| throws <a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></pre> |
| <dl> |
| <dt><strong>Specified by:</strong></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html#deserializeParameters(org.apache.axiom.om.OMElement)">deserializeParameters</a></code> in interface <code><a href="../../../../../org/apache/axis2/description/ParameterInclude.html" title="interface in org.apache.axis2.description">ParameterInclude</a></code></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="../../../../../org/apache/axis2/AxisFault.html" title="class in org.apache.axis2">AxisFault</a></code></dd></dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/DefaultStateManager.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/apache/axis2/clustering/state/ClusteringContextListener.html" title="class in org.apache.axis2.clustering.state"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/apache/axis2/clustering/state/PropertyUpdater.html" title="class in org.apache.axis2.clustering.state"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/axis2/clustering/state/DefaultStateManager.html" target="_top">Frames</a></li> |
| <li><a href="DefaultStateManager.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor_summary">Constr</a> | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor_detail">Constr</a> | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © <a href="https://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |