org.jbpm.context.exe.variableinstance
Class UnpersistableInstance

java.lang.Object
  extended by org.jbpm.context.exe.VariableInstance
      extended by org.jbpm.context.exe.variableinstance.UnpersistableInstance
All Implemented Interfaces:
java.io.Serializable

public class UnpersistableInstance
extends VariableInstance

uses the cache in variable instance to store any object without persisting it.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jbpm.context.exe.VariableInstance
converter, isValueCached, name, processInstance, token, tokenVariableMap, valueCache
 
Constructor Summary
UnpersistableInstance()
           
 
Method Summary
protected  java.lang.Object getObject()
          is the value, stored by this variable instance.
 boolean isStorable(java.lang.Object value)
          is true if this variable-instance supports the given value, false otherwise.
protected  void setObject(java.lang.Object value)
          stores the value in this variable instance.
 
Methods inherited from class org.jbpm.context.exe.VariableInstance
create, createVariableInstance, getName, getProcessInstance, getToken, getValue, removeReferences, setTokenVariableMap, setValue, supports, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnpersistableInstance

public UnpersistableInstance()
Method Detail

isStorable

public boolean isStorable(java.lang.Object value)
Description copied from class: VariableInstance
is true if this variable-instance supports the given value, false otherwise.

Specified by:
isStorable in class VariableInstance

getObject

protected java.lang.Object getObject()
Description copied from class: VariableInstance
is the value, stored by this variable instance.

Specified by:
getObject in class VariableInstance

setObject

protected void setObject(java.lang.Object value)
Description copied from class: VariableInstance
stores the value in this variable instance.

Specified by:
setObject in class VariableInstance


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.