org.jboss.virtual.plugins.context
Class ReplacementHandler
java.lang.Object
org.jboss.virtual.plugins.context.AbstractVirtualFileHandler
org.jboss.virtual.plugins.context.DelegatingHandler
org.jboss.virtual.plugins.context.ReplacementHandler
- All Implemented Interfaces:
- Serializable, VirtualFileHandler
public class ReplacementHandler
- extends DelegatingHandler
A replacement handler.
It uses delegate's vfs context.
- Author:
- ales.justin@jboss.org
- See Also:
- Serialized Form
Method Summary |
VFSContext |
getVFSContext()
Get this handler's most outer context (contexts can be mounted one within other). |
Methods inherited from class org.jboss.virtual.plugins.context.DelegatingHandler |
cleanup, close, delete, equals, exists, getChild, getChildren, getDelegate, getLastModified, getRealURL, getSize, hashCode, internalReplaceChild, isArchive, isHidden, isLeaf, isNested, openStream, removeChild, setDelegate, setVfsUrl, toURI, toURL, toVfsUrl |
Methods inherited from class org.jboss.virtual.plugins.context.AbstractVirtualFileHandler |
checkClosed, checkParentExists, decrement, doClose, getChildPathName, getChildVfsUrl, getLocalPathName, getLocalVFSContext, getName, getParent, getPathName, getReferences, getVfsUrl, getVirtualFile, hasBeenModified, increment, isTemporary, replaceChild, setPathName, simpleFindChild, structuredFindChild, toInternalVfsUrl, toString, toStringLocal |
ReplacementHandler
public ReplacementHandler(VFSContext context,
VirtualFileHandler parent,
String name,
VirtualFileHandler delegate)
getVFSContext
public VFSContext getVFSContext()
- Description copied from class:
AbstractVirtualFileHandler
- Get this handler's most outer context (contexts can be mounted one within other).
- Specified by:
getVFSContext
in interface VirtualFileHandler
- Overrides:
getVFSContext
in class AbstractVirtualFileHandler
- Returns:
- context
Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.