public class ActivatedObjectProcessor extends Object
Modifier and Type | Field and Description |
---|---|
protected Map |
identifierMap
The object to identifier map.
|
protected Map |
objectMap
The identifier to object map.
|
Constructor and Description |
---|
ActivatedObjectProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
activateObject(Object object,
String identifier)
Activate the object.
|
int |
count()
Get the number of active objects.
|
void |
deactivateObject(Object object)
Deactivate the object.
|
Object |
getObject(String identifier)
Get the object with the specified identifier.
|
protected Map objectMap
protected Map identifierMap
public void activateObject(Object object, String identifier)
object
- The object.identifier
- The identifier.public void deactivateObject(Object object)
object
- The object.public Object getObject(String identifier)
identifier
- The identifier.public int count()
Copyright © 2019 JBoss by Red Hat. All rights reserved.