org.apache.tapestry5.internal.services
Interface ComponentResourcesOperation


public interface ComponentResourcesOperation

A kind of callback that can easily be injected into a transformed class to perform complex work.

These callbacks are often injected into a transformed component class via ClassTransformation.addInjectedField(Class, String, Object). Bear in mind that such callbacks must be threadsafe, since every instance of such a class will share a single instance of the operation.


Method Summary
 void perform(ComponentResources resources)
          Perform some operation that requires the components' resources.
 

Method Detail

perform

void perform(ComponentResources resources)
Perform some operation that requires the components' resources.



Copyright © 2003-2012 The Apache Software Foundation.