net.sourceforge.basher.impl
Class LimitedInMemoryEntityRegistry
java.lang.Object
net.sourceforge.basher.impl.InMemoryEntityRegistry
net.sourceforge.basher.impl.LimitedInMemoryEntityRegistry
- All Implemented Interfaces:
- EntityRegistry
public class LimitedInMemoryEntityRegistry
- extends InMemoryEntityRegistry
- Version:
- 1.0
- Author:
- Johan Lindquist
Method Summary |
void |
register(String entityIdentifier,
Object entityID)
Register a certain type as having been created. |
void |
setLimit(int limit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LimitedInMemoryEntityRegistry
public LimitedInMemoryEntityRegistry()
setLimit
public void setLimit(int limit)
register
public void register(String entityIdentifier,
Object entityID)
- Description copied from interface:
EntityRegistry
- Register a certain type as having been created. The
entityIdentifier
is a key into a collection
of entity
instances being held by the EntityRegistry
.
- Specified by:
register
in interface EntityRegistry
- Overrides:
register
in class InMemoryEntityRegistry
- Parameters:
entityIdentifier
- The type of the entity being registeredentityID
- The entity being registered
Copyright © 2006-2010 Basher Team. All Rights Reserved.