62 words

registerAuthorizedStateManagerClass(smClass) - JDO JDOImplHelper's static method

Static Method
javax.jdo.spi.JDOImplHelper
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:
SecurityException - if the caller is not authorized for JDOPermission("setStateManager").
Since:
JDO 1.0.1

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.