void registerAuthorizedStateManagerClasses(
Collection smClasses
)
Register classes authorized to replaceStateManager. The caller of this method must be authorized for JDOPermission("setStateManager"). During replaceStateManager, a persistence-capable class will call the corresponding checkAuthorizedStateManager and the class of the instance of the parameter must have been registered.
- Parameters:
smClasses
- a Collection of Classes that are authorized for JDOPermission("setStateManager").
- Throws:
- SecurityExceptionif the caller is not authorized for JDOPermission("setStateManager").
- Since:
- JDO 1.0