63 words

registerAuthorizedStateManagerClasses(smClasses) - JDO JDOImplHelper's static method

Static Method
javax.jdo.spi.JDOImplHelper
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:
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.