/// @synopsis Configurable getZone()
/// @throws AccessDenied If security policy denies this operation.
public Any m_getZone(Context context)
{
context.checkAccess(anvil.core.system.AnyConfigurable.CAN_READ);
Type type = _type;
while(type != null) {
if (type instanceof Module) {
Module script = (Module)type;
Address addr = script.getAddress();
if (addr != null) {
return new anvil.core.system.AnyConfigurable(addr.getZone());
}
}
type = type.getParent();
}
return UNDEFINED;
}