org.apache.tapestry5.internal.plastic
Class StaticContext

java.lang.Object
  extended by org.apache.tapestry5.internal.plastic.StaticContext

public class StaticContext
extends Object

Stores static context information needed by a transformed PlasticClass; this includes data such as injections.


Constructor Summary
StaticContext()
           
 
Method Summary
 StaticContext dupe()
          Duplicates this StaticContext, which is used when creating a subclass of a transformed class.
 Object get(int index)
           
 int store(Object value)
          Store a context value and return its index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticContext

public StaticContext()
Method Detail

dupe

public StaticContext dupe()
Duplicates this StaticContext, which is used when creating a subclass of a transformed class.

Returns:
new StaticContext with the same values

store

public int store(Object value)
Store a context value and return its index.


get

public Object get(int index)


Copyright © 2003-2012 The Apache Software Foundation.