org.apache.jackrabbit.standalone.cli.lock
Class AddLockToken

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.lock.AddLockToken
All Implemented Interfaces:
org.apache.commons.chain.Command

public class AddLockToken
extends Object
implements org.apache.commons.chain.Command

Add the given Lock token to the current Session


Constructor Summary
AddLockToken()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getTokenKey()
           
 void setTokenKey(String tokenKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddLockToken

public AddLockToken()
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception

Specified by:
execute in interface org.apache.commons.chain.Command
Throws:
Exception

getTokenKey

public String getTokenKey()
Returns:
the token key

setTokenKey

public void setTokenKey(String tokenKey)
Parameters:
tokenKey - the token key to set


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.