org.apache.tapestry5.internal.services
Class ContextResource
java.lang.Object
org.apache.tapestry5.ioc.internal.util.LockSupport
org.apache.tapestry5.ioc.internal.util.AbstractResource
org.apache.tapestry5.internal.services.ContextResource
- All Implemented Interfaces:
- Resource
public class ContextResource
- extends AbstractResource
A resource stored with in the web application context.
ContextResource
public ContextResource(Context context,
String path)
toString
public String toString()
- Overrides:
toString
in class Object
newResource
protected Resource newResource(String path)
- Description copied from class:
AbstractResource
- Factory method provided by subclasses.
- Specified by:
newResource
in class AbstractResource
toURL
public URL toURL()
- Description copied from interface:
Resource
- Returns the URL for the resource, or null if it does not exist. This value is lazily computed; starting in 5.3.4, subclasses may cache
the result.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2003-2012 The Apache Software Foundation.