org.eclipse.webdav.internal.kernel
Class ContextFactory
java.lang.Object
org.eclipse.webdav.internal.kernel.ContextFactory
- All Implemented Interfaces:
- IContextFactory
public class ContextFactory
- extends Object
- implements IContextFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaults
protected IContext defaults
ContextFactory
public ContextFactory()
newContext
public IContext newContext()
- Description copied from interface:
IContextFactory
- Create a new empty context.
- Specified by:
newContext in interface IContextFactory
- Returns:
- the new empty
Context.
newContext
public IContext newContext(IContext baseContext)
- Description copied from interface:
IContextFactory
- Creates a new context based on the given context.
The newly created context acts like an acetate layer
over the base context: any changes made to the new
context are confined to that layer and do not affect
the base context; but changes to the base context show
through to the new context unless masked by another
change made to the new context (c.f. properties).
- Specified by:
newContext in interface IContextFactory
- Parameters:
baseContext - the default values for the new context.
- Returns:
- the new wrapping
Context.
setDefaults
public void setDefaults(IContext defaultValues)
- Set the default values on the factory. All contexts created by this
factory will have these defaults.
- Parameters:
defaultValues - the default values
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.