void registerAuthorizedStateManagerClass(
Class smClass
)
Register a class 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:
smClass
- a Class that is authorized for JDOPermission("setStateManager").
- Throws:
- SecurityExceptionif the caller is not authorized for JDOPermission("setStateManager").
- Since:
- JDO 1.0