Package org.glassfish.pfl.tf.timer.spi
Interface ObjectRegistrationManager
-
- All Known Implementing Classes:
ObjectRegistrationManagerNOPImpl
public interface ObjectRegistrationManager
Interface used to provide the capability to manage timer service objects.
-
-
Field Summary
Fields Modifier and Type Field Description static ObjectRegistrationManager
nullImpl
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
manage(Named obj)
Register obj at the root of the management tree.void
manage(Named parent, Named obj)
Register obj as an immediate child of parent in the management tree.void
unmanage(Named obj)
Remove obj from the management tree.
-
-
-
Field Detail
-
nullImpl
static final ObjectRegistrationManager nullImpl
-
-
Method Detail
-
manage
void manage(Named obj)
Register obj at the root of the management tree.- Parameters:
obj
- Object to register
-
manage
void manage(Named parent, Named obj)
Register obj as an immediate child of parent in the management tree.- Parameters:
parent
- Parent object (already registered)obj
- Object to register
-
unmanage
void unmanage(Named obj)
Remove obj from the management tree.- Parameters:
obj
- Object to be removed from the management tree.
-
-