Allows providers to add a resource type to this resource during resource initialization.
Syntax
void
addResourceType
(
String
resourceTypeName
)
Parameters
-
resourceTypeName –
the resourcetype ID to add to the resource
Exceptions
-
IllegalStateException –
if called after marked readonly
Usage
This method cannot be called by a client after retrieving it using
SecContext.getResource(String)
.