org.kohsuke.stapler.bind
Class BoundObjectTable

java.lang.Object
  extended by org.kohsuke.stapler.bind.BoundObjectTable

public class BoundObjectTable
extends java.lang.Object

TODO: think about some kind of eviction strategy, beyond the session eviction. Maybe it's not necessary, I don't know.

Author:
Kohsuke Kawaguchi

Field Summary
static java.lang.String PREFIX
           
 
Constructor Summary
BoundObjectTable()
           
 
Method Summary
 Bound bind(java.lang.Object o)
          Binds an object temporarily and returns its URL.
 Bound bindWeak(java.lang.Object o)
          Binds an object temporarily and returns its URL.
 java.lang.Object getDynamic(java.lang.String id)
           
 void releaseMe()
          Called from within the request handling of a bound object, to release the object explicitly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final java.lang.String PREFIX
See Also:
Constant Field Values
Constructor Detail

BoundObjectTable

public BoundObjectTable()
Method Detail

getDynamic

public java.lang.Object getDynamic(java.lang.String id)

bind

public Bound bind(java.lang.Object o)
Binds an object temporarily and returns its URL.


bindWeak

public Bound bindWeak(java.lang.Object o)
Binds an object temporarily and returns its URL.


releaseMe

public void releaseMe()
Called from within the request handling of a bound object, to release the object explicitly.



Copyright © 2011. All Rights Reserved.