Package | Description |
---|---|
_templates.javolution.context |
Modifier and Type | Method and Description |
---|---|
static ObjectFactory |
ObjectFactory.getInstance(Class forClass)
Returns a factory implementation producing instances of the specified
class.
|
Modifier and Type | Method and Description |
---|---|
protected Allocator |
HeapContext.getAllocator(ObjectFactory factory) |
protected Allocator |
PoolContext.getAllocator(ObjectFactory factory) |
protected Allocator |
ImmortalContext.getAllocator(ObjectFactory factory) |
protected abstract Allocator |
AllocatorContext.getAllocator(ObjectFactory factory)
Returns the allocator for the specified factory in this context.
|
static void |
ObjectFactory.setInstance(ObjectFactory factory,
Class forClass)
Sets explicitely the factory to be used for the specified class
(see
getInstance(java.lang.Class) ). |
Copyright © 2005–2020 Javolution. All rights reserved.