org.xwiki.instance
Interface InstanceIdManager


@Role
@Unstable
public interface InstanceIdManager

Initialize and retrieve the Instance Id.

Since:
5.2M2
Version:
$Id: ff506735e754f2a1325ba1b90e61b6477ded145c $

Method Summary
 InstanceId getInstanceId()
           
 void initializeInstanceId()
          Generate and save a unique instance id in the database if one isn't already there.
 

Method Detail

getInstanceId

InstanceId getInstanceId()
Returns:
the Instance id or null if it isn't set

initializeInstanceId

void initializeInstanceId()
Generate and save a unique instance id in the database if one isn't already there.



Copyright © 2004-2013 XWiki. All Rights Reserved.