com.atlassian.confluence.setup.velocity
Class ClusterContextItemProvider

java.lang.Object
  extended by com.atlassian.confluence.setup.velocity.ClusterContextItemProvider
All Implemented Interfaces:
VelocityContextItemProvider

public class ClusterContextItemProvider
extends java.lang.Object
implements VelocityContextItemProvider

Provides the current cluster node's identifier to the velocity context.


Constructor Summary
ClusterContextItemProvider(ClusterManager clusterManager)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getContextMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterContextItemProvider

public ClusterContextItemProvider(ClusterManager clusterManager)
Method Detail

getContextMap

public java.util.Map<java.lang.String,java.lang.Object> getContextMap()
Specified by:
getContextMap in interface VelocityContextItemProvider
Returns:
A map of values to be used within a Velocity Context. Must not be null


Copyright © 2003-2014 Atlassian. All Rights Reserved.